﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DSstok" targetNamespace="http://tempuri.org/DSstok.xsd" xmlns:mstns="http://tempuri.org/DSstok.xsd" xmlns="http://tempuri.org/DSstok.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="AdventureWorksConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="AdventureWorksConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.TX.Properties.Settings.GlobalReference.Default.AdventureWorksConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VendorTableAdapter" GeneratorDataComponentClassName="VendorTableAdapter" Name="Vendor" UserDataComponentName="VendorTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.Purchasing.Vendor" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Purchasing].[Vendor] WHERE (([VendorID] = @Original_VendorID) AND ([AccountNumber] = @Original_AccountNumber) AND ([Name] = @Original_Name) AND ([CreditRating] = @Original_CreditRating) AND ([PreferredVendorStatus] = @Original_PreferredVendorStatus) AND ([ActiveFlag] = @Original_ActiveFlag) AND ((@IsNull_PurchasingWebServiceURL = 1 AND [PurchasingWebServiceURL] IS NULL) OR ([PurchasingWebServiceURL] = @Original_PurchasingWebServiceURL)) AND ([ModifiedDate] = @Original_ModifiedDate) AND ((@IsNull_PreferredPaymentMethod = 1 AND [PreferredPaymentMethod] IS NULL) OR ([PreferredPaymentMethod] = @Original_PreferredPaymentMethod)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AccountNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_CreditRating" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="CreditRating" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_PreferredVendorStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PreferredVendorStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PurchasingWebServiceURL" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchasingWebServiceURL" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PurchasingWebServiceURL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PurchasingWebServiceURL" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PreferredPaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PreferredPaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Purchasing].[Vendor] ([AccountNumber], [Name], [CreditRating], [PreferredVendorStatus], [ActiveFlag], [PurchasingWebServiceURL], [ModifiedDate], [PreferredPaymentMethod]) VALUES (@AccountNumber, @Name, @CreditRating, @PreferredVendorStatus, @ActiveFlag, @PurchasingWebServiceURL, @ModifiedDate, @PreferredPaymentMethod);
SELECT VendorID, AccountNumber, Name, CreditRating, PreferredVendorStatus, ActiveFlag, PurchasingWebServiceURL, ModifiedDate, PreferredPaymentMethod FROM Purchasing.Vendor WHERE (VendorID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@CreditRating" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="CreditRating" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@PreferredVendorStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PreferredVendorStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PurchasingWebServiceURL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PurchasingWebServiceURL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PreferredPaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT VendorID, AccountNumber, Name, CreditRating, PreferredVendorStatus, ActiveFlag, PurchasingWebServiceURL, ModifiedDate, PreferredPaymentMethod FROM Purchasing.Vendor</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Purchasing].[Vendor] SET [AccountNumber] = @AccountNumber, [Name] = @Name, [CreditRating] = @CreditRating, [PreferredVendorStatus] = @PreferredVendorStatus, [ActiveFlag] = @ActiveFlag, [PurchasingWebServiceURL] = @PurchasingWebServiceURL, [ModifiedDate] = @ModifiedDate, [PreferredPaymentMethod] = @PreferredPaymentMethod WHERE (([VendorID] = @Original_VendorID) AND ([AccountNumber] = @Original_AccountNumber) AND ([Name] = @Original_Name) AND ([CreditRating] = @Original_CreditRating) AND ([PreferredVendorStatus] = @Original_PreferredVendorStatus) AND ([ActiveFlag] = @Original_ActiveFlag) AND ((@IsNull_PurchasingWebServiceURL = 1 AND [PurchasingWebServiceURL] IS NULL) OR ([PurchasingWebServiceURL] = @Original_PurchasingWebServiceURL)) AND ([ModifiedDate] = @Original_ModifiedDate) AND ((@IsNull_PreferredPaymentMethod = 1 AND [PreferredPaymentMethod] IS NULL) OR ([PreferredPaymentMethod] = @Original_PreferredPaymentMethod)));
SELECT VendorID, AccountNumber, Name, CreditRating, PreferredVendorStatus, ActiveFlag, PurchasingWebServiceURL, ModifiedDate, PreferredPaymentMethod FROM Purchasing.Vendor WHERE (VendorID = @VendorID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@CreditRating" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="CreditRating" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@PreferredVendorStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PreferredVendorStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PurchasingWebServiceURL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PurchasingWebServiceURL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PreferredPaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AccountNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_CreditRating" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="CreditRating" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_PreferredVendorStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PreferredVendorStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PurchasingWebServiceURL" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchasingWebServiceURL" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PurchasingWebServiceURL" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PurchasingWebServiceURL" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PreferredPaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PreferredPaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="VendorID" ColumnName="VendorID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@VendorID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="VendorID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="VendorID" DataSetColumn="VendorID" />
              <Mapping SourceColumn="AccountNumber" DataSetColumn="AccountNumber" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="CreditRating" DataSetColumn="CreditRating" />
              <Mapping SourceColumn="PreferredVendorStatus" DataSetColumn="PreferredVendorStatus" />
              <Mapping SourceColumn="ActiveFlag" DataSetColumn="ActiveFlag" />
              <Mapping SourceColumn="PurchasingWebServiceURL" DataSetColumn="PurchasingWebServiceURL" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="PreferredPaymentMethod" DataSetColumn="PreferredPaymentMethod" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EmployeeTableAdapter" GeneratorDataComponentClassName="EmployeeTableAdapter" Name="Employee" UserDataComponentName="EmployeeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.HumanResources.Employee" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [HumanResources].[Employee] WHERE (([EmployeeID] = @Original_EmployeeID) AND ([NationalIDNumber] = @Original_NationalIDNumber) AND ([ContactID] = @Original_ContactID) AND ([LoginID] = @Original_LoginID) AND ((@IsNull_ManagerID = 1 AND [ManagerID] IS NULL) OR ([ManagerID] = @Original_ManagerID)) AND ([Title] = @Original_Title) AND ([BirthDate] = @Original_BirthDate) AND ([MaritalStatus] = @Original_MaritalStatus) AND ([Gender] = @Original_Gender) AND ([HireDate] = @Original_HireDate) AND ([SalariedFlag] = @Original_SalariedFlag) AND ([VacationHours] = @Original_VacationHours) AND ([SickLeaveHours] = @Original_SickLeaveHours) AND ([CurrentFlag] = @Original_CurrentFlag) AND ([rowguid] = @Original_rowguid) AND ([ModifiedDate] = @Original_ModifiedDate) AND ((@IsNull_Yetki = 1 AND [Yetki] IS NULL) OR ([Yetki] = @Original_Yetki)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EmployeeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NationalIDNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NationalIDNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_LoginID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LoginID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ManagerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ManagerID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ManagerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ManagerID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_BirthDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="BirthDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_MaritalStatus" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="MaritalStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_HireDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="HireDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_SalariedFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SalariedFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_VacationHours" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="VacationHours" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_SickLeaveHours" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SickLeaveHours" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_CurrentFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrentFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Yetki" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Yetki" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_Yetki" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="Yetki" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [HumanResources].[Employee] ([NationalIDNumber], [ContactID], [LoginID], [ManagerID], [Title], [BirthDate], [MaritalStatus], [Gender], [HireDate], [SalariedFlag], [VacationHours], [SickLeaveHours], [CurrentFlag], [rowguid], [ModifiedDate], [Yetki]) VALUES (@NationalIDNumber, @ContactID, @LoginID, @ManagerID, @Title, @BirthDate, @MaritalStatus, @Gender, @HireDate, @SalariedFlag, @VacationHours, @SickLeaveHours, @CurrentFlag, @rowguid, @ModifiedDate, @Yetki);
SELECT EmployeeID, NationalIDNumber, ContactID, LoginID, ManagerID, Title, BirthDate, MaritalStatus, Gender, HireDate, SalariedFlag, VacationHours, SickLeaveHours, CurrentFlag, rowguid, ModifiedDate, Yetki FROM HumanResources.Employee WHERE (EmployeeID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NationalIDNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NationalIDNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LoginID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LoginID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ManagerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ManagerID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@BirthDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="BirthDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@MaritalStatus" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="MaritalStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@HireDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="HireDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SalariedFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SalariedFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@VacationHours" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="VacationHours" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@SickLeaveHours" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SickLeaveHours" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@CurrentFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrentFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Yetki" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="Yetki" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT EmployeeID, NationalIDNumber, ContactID, LoginID, ManagerID, Title, BirthDate, MaritalStatus, Gender, HireDate, SalariedFlag, VacationHours, SickLeaveHours, CurrentFlag, rowguid, ModifiedDate, Yetki FROM HumanResources.Employee</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [HumanResources].[Employee] SET [NationalIDNumber] = @NationalIDNumber, [ContactID] = @ContactID, [LoginID] = @LoginID, [ManagerID] = @ManagerID, [Title] = @Title, [BirthDate] = @BirthDate, [MaritalStatus] = @MaritalStatus, [Gender] = @Gender, [HireDate] = @HireDate, [SalariedFlag] = @SalariedFlag, [VacationHours] = @VacationHours, [SickLeaveHours] = @SickLeaveHours, [CurrentFlag] = @CurrentFlag, [rowguid] = @rowguid, [ModifiedDate] = @ModifiedDate, [Yetki] = @Yetki WHERE (([EmployeeID] = @Original_EmployeeID) AND ([NationalIDNumber] = @Original_NationalIDNumber) AND ([ContactID] = @Original_ContactID) AND ([LoginID] = @Original_LoginID) AND ((@IsNull_ManagerID = 1 AND [ManagerID] IS NULL) OR ([ManagerID] = @Original_ManagerID)) AND ([Title] = @Original_Title) AND ([BirthDate] = @Original_BirthDate) AND ([MaritalStatus] = @Original_MaritalStatus) AND ([Gender] = @Original_Gender) AND ([HireDate] = @Original_HireDate) AND ([SalariedFlag] = @Original_SalariedFlag) AND ([VacationHours] = @Original_VacationHours) AND ([SickLeaveHours] = @Original_SickLeaveHours) AND ([CurrentFlag] = @Original_CurrentFlag) AND ([rowguid] = @Original_rowguid) AND ([ModifiedDate] = @Original_ModifiedDate) AND ((@IsNull_Yetki = 1 AND [Yetki] IS NULL) OR ([Yetki] = @Original_Yetki)));
SELECT EmployeeID, NationalIDNumber, ContactID, LoginID, ManagerID, Title, BirthDate, MaritalStatus, Gender, HireDate, SalariedFlag, VacationHours, SickLeaveHours, CurrentFlag, rowguid, ModifiedDate, Yetki FROM HumanResources.Employee WHERE (EmployeeID = @EmployeeID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NationalIDNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NationalIDNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LoginID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LoginID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ManagerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ManagerID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@BirthDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="BirthDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@MaritalStatus" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="MaritalStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@HireDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="HireDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SalariedFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SalariedFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@VacationHours" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="VacationHours" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@SickLeaveHours" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SickLeaveHours" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@CurrentFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrentFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Yetki" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="Yetki" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EmployeeID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NationalIDNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NationalIDNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_LoginID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LoginID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ManagerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ManagerID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ManagerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ManagerID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_BirthDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="BirthDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_MaritalStatus" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="MaritalStatus" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_HireDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="HireDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_SalariedFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SalariedFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_VacationHours" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="VacationHours" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_SickLeaveHours" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SickLeaveHours" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_CurrentFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="CurrentFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Yetki" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Yetki" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_Yetki" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="Yetki" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="EmployeeID" ColumnName="EmployeeID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EmployeeID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="EmployeeID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="EmployeeID" DataSetColumn="EmployeeID" />
              <Mapping SourceColumn="NationalIDNumber" DataSetColumn="NationalIDNumber" />
              <Mapping SourceColumn="ContactID" DataSetColumn="ContactID" />
              <Mapping SourceColumn="LoginID" DataSetColumn="LoginID" />
              <Mapping SourceColumn="ManagerID" DataSetColumn="ManagerID" />
              <Mapping SourceColumn="Title" DataSetColumn="Title" />
              <Mapping SourceColumn="BirthDate" DataSetColumn="BirthDate" />
              <Mapping SourceColumn="MaritalStatus" DataSetColumn="MaritalStatus" />
              <Mapping SourceColumn="Gender" DataSetColumn="Gender" />
              <Mapping SourceColumn="HireDate" DataSetColumn="HireDate" />
              <Mapping SourceColumn="SalariedFlag" DataSetColumn="SalariedFlag" />
              <Mapping SourceColumn="VacationHours" DataSetColumn="VacationHours" />
              <Mapping SourceColumn="SickLeaveHours" DataSetColumn="SickLeaveHours" />
              <Mapping SourceColumn="CurrentFlag" DataSetColumn="CurrentFlag" />
              <Mapping SourceColumn="rowguid" DataSetColumn="rowguid" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="Yetki" DataSetColumn="Yetki" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerTableAdapter" GeneratorDataComponentClassName="CustomerTableAdapter" Name="Customer" UserDataComponentName="CustomerTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.Sales.Customer" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Sales].[Customer] WHERE (([CustomerID] = @Original_CustomerID) AND ((@IsNull_TerritoryID = 1 AND [TerritoryID] IS NULL) OR ([TerritoryID] = @Original_TerritoryID)) AND ([AccountNumber] = @Original_AccountNumber) AND ([CustomerType] = @Original_CustomerType) AND ([rowguid] = @Original_rowguid) AND ([ModifiedDate] = @Original_ModifiedDate) AND ((@IsNull_PreferredShipMethod = 1 AND [PreferredShipMethod] IS NULL) OR ([PreferredShipMethod] = @Original_PreferredShipMethod)) AND ((@IsNull_PreferredPaymentMethod = 1 AND [PreferredPaymentMethod] IS NULL) OR ([PreferredPaymentMethod] = @Original_PreferredPaymentMethod)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TerritoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TerritoryID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TerritoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TerritoryID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CustomerType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PreferredShipMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredShipMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PreferredShipMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredShipMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PreferredPaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PreferredPaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Sales].[Customer] ([TerritoryID], [AccountNumber], [CustomerType], [rowguid], [ModifiedDate], [PreferredShipMethod], [PreferredPaymentMethod]) VALUES (@TerritoryID, @AccountNumber, @CustomerType, @rowguid, @ModifiedDate, @PreferredShipMethod, @PreferredPaymentMethod);
SELECT CustomerID, TerritoryID, AccountNumber, CustomerType, rowguid, ModifiedDate, PreferredShipMethod, PreferredPaymentMethod FROM Sales.Customer WHERE (CustomerID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TerritoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TerritoryID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CustomerType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PreferredShipMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredShipMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PreferredPaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CustomerID, TerritoryID, AccountNumber, CustomerType, rowguid, ModifiedDate, PreferredShipMethod, PreferredPaymentMethod FROM Sales.Customer</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Sales].[Customer] SET [TerritoryID] = @TerritoryID, [AccountNumber] = @AccountNumber, [CustomerType] = @CustomerType, [rowguid] = @rowguid, [ModifiedDate] = @ModifiedDate, [PreferredShipMethod] = @PreferredShipMethod, [PreferredPaymentMethod] = @PreferredPaymentMethod WHERE (([CustomerID] = @Original_CustomerID) AND ((@IsNull_TerritoryID = 1 AND [TerritoryID] IS NULL) OR ([TerritoryID] = @Original_TerritoryID)) AND ([AccountNumber] = @Original_AccountNumber) AND ([CustomerType] = @Original_CustomerType) AND ([rowguid] = @Original_rowguid) AND ([ModifiedDate] = @Original_ModifiedDate) AND ((@IsNull_PreferredShipMethod = 1 AND [PreferredShipMethod] IS NULL) OR ([PreferredShipMethod] = @Original_PreferredShipMethod)) AND ((@IsNull_PreferredPaymentMethod = 1 AND [PreferredPaymentMethod] IS NULL) OR ([PreferredPaymentMethod] = @Original_PreferredPaymentMethod)));
SELECT CustomerID, TerritoryID, AccountNumber, CustomerType, rowguid, ModifiedDate, PreferredShipMethod, PreferredPaymentMethod FROM Sales.Customer WHERE (CustomerID = @CustomerID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TerritoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TerritoryID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@CustomerType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PreferredShipMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredShipMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PreferredPaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TerritoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TerritoryID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TerritoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TerritoryID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_CustomerType" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="CustomerType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PreferredShipMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredShipMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PreferredShipMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredShipMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PreferredPaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_PreferredPaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredPaymentMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CustomerID" ColumnName="CustomerID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CustomerID" DataSetColumn="CustomerID" />
              <Mapping SourceColumn="TerritoryID" DataSetColumn="TerritoryID" />
              <Mapping SourceColumn="AccountNumber" DataSetColumn="AccountNumber" />
              <Mapping SourceColumn="CustomerType" DataSetColumn="CustomerType" />
              <Mapping SourceColumn="rowguid" DataSetColumn="rowguid" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="PreferredShipMethod" DataSetColumn="PreferredShipMethod" />
              <Mapping SourceColumn="PreferredPaymentMethod" DataSetColumn="PreferredPaymentMethod" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BelgeTableAdapter" GeneratorDataComponentClassName="BelgeTableAdapter" Name="Belge" UserDataComponentName="BelgeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.A.Belge" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [A].[Belge] WHERE (([BelgeId] = @Original_BelgeId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BelgeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [A].[Belge] ([Tarih], [BelgeTipiId], [InvoiceDate], [InvoiceNr], [IrsaliyeTarihi], [IrsaliyeNr], [VendorId], [isClosed], [OwnerId], [DovizCinsiId], [Kargo], [GenelToplam], [AlisSekliId], [PaymentTermId], [DeliveryTermId], [CourierId], [ExpensePercentageId], [ReferansNo], [ModifiedOn], [ModifiedBy]) VALUES (@Tarih, @BelgeTipiId, @InvoiceDate, @InvoiceNr, @IrsaliyeTarihi, @IrsaliyeNr, @VendorId, @isClosed, @OwnerId, @DovizCinsiId, @Kargo, @GenelToplam, @AlisSekliId, @PaymentTermId, @DeliveryTermId, @CourierId, @ExpensePercentageId, @ReferansNo, @ModifiedOn, @ModifiedBy);
SELECT BelgeId, Tarih, BelgeTipiId, InvoiceDate, InvoiceNr, IrsaliyeTarihi, IrsaliyeNr, VendorId, isClosed, OwnerId, DovizCinsiId, Kargo, GenelToplam, AlisSekliId, PaymentTermId, DeliveryTermId, CourierId, ExpensePercentageId, ReferansNo, ModifiedOn, ModifiedBy, TS FROM A.Belge WHERE (BelgeId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Tarih" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="Tarih" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@BelgeTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="BelgeTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@InvoiceDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@InvoiceNr" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="InvoiceNr" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@IrsaliyeTarihi" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="IrsaliyeTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IrsaliyeNr" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IrsaliyeNr" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isClosed" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isClosed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OwnerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OwnerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DovizCinsiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DovizCinsiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Kargo" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Kargo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@GenelToplam" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="GenelToplam" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@AlisSekliId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="AlisSekliId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PaymentTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PaymentTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@CourierId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CourierId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@ExpensePercentageId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ExpensePercentageId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ReferansNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ReferansNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT BelgeId, Tarih, BelgeTipiId, InvoiceDate, InvoiceNr, IrsaliyeTarihi, IrsaliyeNr, VendorId, isClosed, OwnerId, DovizCinsiId, Kargo, GenelToplam, AlisSekliId, PaymentTermId, DeliveryTermId, CourierId, ExpensePercentageId, ReferansNo, ModifiedOn, ModifiedBy, TS FROM A.Belge</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [A].[Belge] SET [Tarih] = @Tarih, [BelgeTipiId] = @BelgeTipiId, [InvoiceDate] = @InvoiceDate, [InvoiceNr] = @InvoiceNr, [IrsaliyeTarihi] = @IrsaliyeTarihi, [IrsaliyeNr] = @IrsaliyeNr, [VendorId] = @VendorId, [isClosed] = @isClosed, [OwnerId] = @OwnerId, [DovizCinsiId] = @DovizCinsiId, [Kargo] = @Kargo, [GenelToplam] = @GenelToplam, [AlisSekliId] = @AlisSekliId, [PaymentTermId] = @PaymentTermId, [DeliveryTermId] = @DeliveryTermId, [CourierId] = @CourierId, [ExpensePercentageId] = @ExpensePercentageId, [ReferansNo] = @ReferansNo, [ModifiedOn] = @ModifiedOn, [ModifiedBy] = @ModifiedBy WHERE (([BelgeId] = @Original_BelgeId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT BelgeId, Tarih, BelgeTipiId, InvoiceDate, InvoiceNr, IrsaliyeTarihi, IrsaliyeNr, VendorId, isClosed, OwnerId, DovizCinsiId, Kargo, GenelToplam, AlisSekliId, PaymentTermId, DeliveryTermId, CourierId, ExpensePercentageId, ReferansNo, ModifiedOn, ModifiedBy, TS FROM A.Belge WHERE (BelgeId = @BelgeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Tarih" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="Tarih" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@BelgeTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="BelgeTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@InvoiceDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="InvoiceDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@InvoiceNr" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="InvoiceNr" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@IrsaliyeTarihi" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="IrsaliyeTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IrsaliyeNr" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IrsaliyeNr" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isClosed" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isClosed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OwnerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OwnerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DovizCinsiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DovizCinsiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Kargo" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Kargo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@GenelToplam" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="GenelToplam" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@AlisSekliId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="AlisSekliId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PaymentTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PaymentTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@CourierId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CourierId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@ExpensePercentageId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ExpensePercentageId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ReferansNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ReferansNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BelgeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BelgeId" ColumnName="BelgeId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BelgeId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="BelgeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BelgeId" DataSetColumn="BelgeId" />
              <Mapping SourceColumn="Tarih" DataSetColumn="Tarih" />
              <Mapping SourceColumn="BelgeTipiId" DataSetColumn="BelgeTipiId" />
              <Mapping SourceColumn="InvoiceDate" DataSetColumn="InvoiceDate" />
              <Mapping SourceColumn="InvoiceNr" DataSetColumn="InvoiceNr" />
              <Mapping SourceColumn="IrsaliyeTarihi" DataSetColumn="IrsaliyeTarihi" />
              <Mapping SourceColumn="IrsaliyeNr" DataSetColumn="IrsaliyeNr" />
              <Mapping SourceColumn="VendorId" DataSetColumn="VendorId" />
              <Mapping SourceColumn="isClosed" DataSetColumn="isClosed" />
              <Mapping SourceColumn="OwnerId" DataSetColumn="OwnerId" />
              <Mapping SourceColumn="DovizCinsiId" DataSetColumn="DovizCinsiId" />
              <Mapping SourceColumn="Kargo" DataSetColumn="Kargo" />
              <Mapping SourceColumn="GenelToplam" DataSetColumn="GenelToplam" />
              <Mapping SourceColumn="AlisSekliId" DataSetColumn="AlisSekliId" />
              <Mapping SourceColumn="PaymentTermId" DataSetColumn="PaymentTermId" />
              <Mapping SourceColumn="DeliveryTermId" DataSetColumn="DeliveryTermId" />
              <Mapping SourceColumn="CourierId" DataSetColumn="CourierId" />
              <Mapping SourceColumn="ExpensePercentageId" DataSetColumn="ExpensePercentageId" />
              <Mapping SourceColumn="ReferansNo" DataSetColumn="ReferansNo" />
              <Mapping SourceColumn="ModifiedOn" DataSetColumn="ModifiedOn" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.dbo.sec" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillByCr" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByCr" GeneratorSourceName="FillByCr" GetMethodModifier="Public" GetMethodName="GetDataByCr" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByCr" UserSourceName="FillByCr">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.sec</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@table" Precision="0" ProviderType="VarChar" Scale="0" Size="64" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@criteria" Precision="0" ProviderType="VarChar" Scale="0" Size="4096" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.dbo.secTop10" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillTop10" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataTop10" GeneratorSourceName="FillTop10" GetMethodModifier="Public" GetMethodName="GetDataTop10" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataTop10" UserSourceName="FillTop10">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.secTop10</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@table" Precision="0" ProviderType="VarChar" Scale="0" Size="64" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BelgeDetayTableAdapter" GeneratorDataComponentClassName="BelgeDetayTableAdapter" Name="BelgeDetay" UserDataComponentName="BelgeDetayTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.A.BelgeDetay" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [A].[BelgeDetay] WHERE (([BelgeDetayId] = @Original_BelgeDetayId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BelgeDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [A].[BelgeDetay] ([BelgeId], [StokId], [PurchaseOrderId], [CustomerId], [TotalQty], [LineTotal], [Image], [SatinalmaOKi], [isClosed], [ModifiedOn], [ModifiedBy]) VALUES (@BelgeId, @StokId, @PurchaseOrderId, @CustomerId, @TotalQty, @LineTotal, @Image, @SatinalmaOKi, @isClosed, @ModifiedOn, @ModifiedBy);
SELECT BelgeDetayId, BelgeId, StokId, PurchaseOrderId, CustomerId, TotalQty, LineTotal, Image, SatinalmaOKi, isClosed, ModifiedOn, ModifiedBy, TS FROM A.BelgeDetay WHERE (BelgeDetayId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BelgeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PurchaseOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@TotalQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="TotalQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@LineTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="LineTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Image" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Image" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SatinalmaOKi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SatinalmaOKi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isClosed" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isClosed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT BelgeDetayId, BelgeId, StokId, PurchaseOrderId, CustomerId, TotalQty, LineTotal, Image, SatinalmaOKi, isClosed, ModifiedOn, ModifiedBy, TS FROM A.BelgeDetay</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [A].[BelgeDetay] SET [BelgeId] = @BelgeId, [StokId] = @StokId, [PurchaseOrderId] = @PurchaseOrderId, [CustomerId] = @CustomerId, [TotalQty] = @TotalQty, [LineTotal] = @LineTotal, [Image] = @Image, [SatinalmaOKi] = @SatinalmaOKi, [isClosed] = @isClosed, [ModifiedOn] = @ModifiedOn, [ModifiedBy] = @ModifiedBy WHERE (([BelgeDetayId] = @Original_BelgeDetayId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT BelgeDetayId, BelgeId, StokId, PurchaseOrderId, CustomerId, TotalQty, LineTotal, Image, SatinalmaOKi, isClosed, ModifiedOn, ModifiedBy, TS FROM A.BelgeDetay WHERE (BelgeDetayId = @BelgeDetayId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BelgeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PurchaseOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@TotalQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="TotalQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@LineTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="LineTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Image" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="Image" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@SatinalmaOKi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="SatinalmaOKi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isClosed" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isClosed" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BelgeDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BelgeDetayId" ColumnName="BelgeDetayId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BelgeDetayId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="BelgeDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BelgeDetayId" DataSetColumn="BelgeDetayId" />
              <Mapping SourceColumn="BelgeId" DataSetColumn="BelgeId" />
              <Mapping SourceColumn="StokId" DataSetColumn="StokId" />
              <Mapping SourceColumn="PurchaseOrderId" DataSetColumn="PurchaseOrderId" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="Image" DataSetColumn="Image" />
              <Mapping SourceColumn="SatinalmaOKi" DataSetColumn="SatinalmaOKi" />
              <Mapping SourceColumn="isClosed" DataSetColumn="isClosed" />
              <Mapping SourceColumn="ModifiedOn" DataSetColumn="ModifiedOn" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
              <Mapping SourceColumn="TotalQty" DataSetColumn="TotalQty" />
              <Mapping SourceColumn="LineTotal" DataSetColumn="LineTotal" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HareketTableAdapter" GeneratorDataComponentClassName="HareketTableAdapter" Name="Hareket" UserDataComponentName="HareketTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.A.Hareket" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [A].[Hareket] WHERE (([HareketId] = @Original_HareketId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [A].[Hareket] ([HareketTipiId], [BelgeId], [OlayId], [SalesOrderId], [GeneralNotes], [ModifiedOn], [ModifiedBy]) VALUES (@HareketTipiId, @BelgeId, @OlayId, @SalesOrderId, @GeneralNotes, @ModifiedOn, @ModifiedBy);
SELECT HareketId, HareketTipiId, BelgeId, OlayId, SalesOrderId, GeneralNotes, ModifiedOn, ModifiedBy, TS FROM A.Hareket WHERE (HareketId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@HareketTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="HareketTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BelgeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OlayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OlayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@GeneralNotes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="GeneralNotes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT HareketId, HareketTipiId, BelgeId, OlayId, SalesOrderId, GeneralNotes, ModifiedOn, ModifiedBy, TS FROM A.Hareket</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [A].[Hareket] SET [HareketTipiId] = @HareketTipiId, [BelgeId] = @BelgeId, [OlayId] = @OlayId, [SalesOrderId] = @SalesOrderId, [GeneralNotes] = @GeneralNotes, [ModifiedOn] = @ModifiedOn, [ModifiedBy] = @ModifiedBy WHERE (([HareketId] = @Original_HareketId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT HareketId, HareketTipiId, BelgeId, OlayId, SalesOrderId, GeneralNotes, ModifiedOn, ModifiedBy, TS FROM A.Hareket WHERE (HareketId = @HareketId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@HareketTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="HareketTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BelgeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OlayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OlayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesOrderId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@GeneralNotes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="GeneralNotes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="HareketId" ColumnName="HareketId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@HareketId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="HareketId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="HareketId" DataSetColumn="HareketId" />
              <Mapping SourceColumn="HareketTipiId" DataSetColumn="HareketTipiId" />
              <Mapping SourceColumn="BelgeId" DataSetColumn="BelgeId" />
              <Mapping SourceColumn="OlayId" DataSetColumn="OlayId" />
              <Mapping SourceColumn="SalesOrderId" DataSetColumn="SalesOrderId" />
              <Mapping SourceColumn="GeneralNotes" DataSetColumn="GeneralNotes" />
              <Mapping SourceColumn="ModifiedOn" DataSetColumn="ModifiedOn" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.dbo.sec" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillByCr" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByCr" GeneratorSourceName="FillByCr" GetMethodModifier="Public" GetMethodName="GetDataByCr" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByCr" UserSourceName="FillByCr">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.sec</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@table" Precision="0" ProviderType="VarChar" Scale="0" Size="64" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@criteria" Precision="0" ProviderType="VarChar" Scale="0" Size="4096" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.dbo.secTop10" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillTop10" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataTop10" GeneratorSourceName="FillTop10" GetMethodModifier="Public" GetMethodName="GetDataTop10" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataTop10" UserSourceName="FillTop10">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.secTop10</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@table" Precision="0" ProviderType="VarChar" Scale="0" Size="64" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HareketDetayTableAdapter" GeneratorDataComponentClassName="HareketDetayTableAdapter" Name="HareketDetay" UserDataComponentName="HareketDetayTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.A.HareketDetay" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [A].[HareketDetay] WHERE (([HareketDetayId] = @Original_HareketDetayId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [A].[HareketDetay] ([HareketId], [BelgeDetayId], [CustomerId], [StokId], [Notes], [DepoOKi], [HareketTarihi], [EmployeeId], [CustomerArticle], [CustomerCode], [CustomerColor], [CancelDate], [ModifiedOn], [ModifiedBy]) VALUES (@HareketId, @BelgeDetayId, @CustomerId, @StokId, @Notes, @DepoOKi, @HareketTarihi, @EmployeeId, @CustomerArticle, @CustomerCode, @CustomerColor, @CancelDate, @ModifiedOn, @ModifiedBy);
SELECT HareketDetayId, HareketId, BelgeDetayId, CustomerId, StokId, Notes, DepoOKi, HareketTarihi, EmployeeId, CustomerArticle, CustomerCode, CustomerColor, CancelDate, ModifiedOn, ModifiedBy, TS FROM A.HareketDetay WHERE (HareketDetayId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BelgeDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@DepoOKi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="DepoOKi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@HareketTarihi" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="HareketTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerArticle" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerArticle" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerColor" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerColor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CancelDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CancelDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT HareketDetayId, HareketId, BelgeDetayId, CustomerId, StokId, Notes, DepoOKi, HareketTarihi, EmployeeId, CustomerArticle, CustomerCode, CustomerColor, CancelDate, ModifiedOn, ModifiedBy, TS FROM A.HareketDetay</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [A].[HareketDetay] SET [HareketId] = @HareketId, [BelgeDetayId] = @BelgeDetayId, [CustomerId] = @CustomerId, [StokId] = @StokId, [Notes] = @Notes, [DepoOKi] = @DepoOKi, [HareketTarihi] = @HareketTarihi, [EmployeeId] = @EmployeeId, [CustomerArticle] = @CustomerArticle, [CustomerCode] = @CustomerCode, [CustomerColor] = @CustomerColor, [CancelDate] = @CancelDate, [ModifiedOn] = @ModifiedOn, [ModifiedBy] = @ModifiedBy WHERE (([HareketDetayId] = @Original_HareketDetayId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT HareketDetayId, HareketId, BelgeDetayId, CustomerId, StokId, Notes, DepoOKi, HareketTarihi, EmployeeId, CustomerArticle, CustomerCode, CustomerColor, CancelDate, ModifiedOn, ModifiedBy, TS FROM A.HareketDetay WHERE (HareketDetayId = @HareketDetayId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BelgeDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@DepoOKi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="DepoOKi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@HareketTarihi" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="HareketTarihi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerArticle" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerArticle" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CustomerColor" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CustomerColor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CancelDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CancelDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="HareketDetayId" ColumnName="HareketDetayId" DataSourceName="AdventureWorks.A.HareketDetay" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="HareketDetayId" DataSetColumn="HareketDetayId" />
              <Mapping SourceColumn="HareketId" DataSetColumn="HareketId" />
              <Mapping SourceColumn="BelgeDetayId" DataSetColumn="BelgeDetayId" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="StokId" DataSetColumn="StokId" />
              <Mapping SourceColumn="Notes" DataSetColumn="Notes" />
              <Mapping SourceColumn="DepoOKi" DataSetColumn="DepoOKi" />
              <Mapping SourceColumn="HareketTarihi" DataSetColumn="HareketTarihi" />
              <Mapping SourceColumn="EmployeeId" DataSetColumn="EmployeeId" />
              <Mapping SourceColumn="CustomerArticle" DataSetColumn="CustomerArticle" />
              <Mapping SourceColumn="CustomerCode" DataSetColumn="CustomerCode" />
              <Mapping SourceColumn="CustomerColor" DataSetColumn="CustomerColor" />
              <Mapping SourceColumn="CancelDate" DataSetColumn="CancelDate" />
              <Mapping SourceColumn="ModifiedOn" DataSetColumn="ModifiedOn" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HareketDetayStokTableAdapter" GeneratorDataComponentClassName="HareketDetayStokTableAdapter" Name="HareketDetayStok" UserDataComponentName="HareketDetayStokTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.A.HareketDetayStok" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [A].[HareketDetayStok] WHERE (([HareketDetayId] = @Original_HareketDetayId) AND ([StokId] = @Original_StokId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [A].[HareketDetayStok] ([HareketDetayId], [StokId], [DepoId], [RafId], [QtyTransferred], [NewBalance], [ModifiedOn], [ModifiedBy]) VALUES (@HareketDetayId, @StokId, @DepoId, @RafId, @QtyTransferred, @NewBalance, @ModifiedOn, @ModifiedBy);
SELECT HareketDetayId, StokId, DepoId, RafId, QtyTransferred, NewBalance, ModifiedOn, ModifiedBy, TS FROM A.HareketDetayStok WHERE (HareketDetayId = @HareketDetayId) AND (StokId = @StokId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepoId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepoId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@RafId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="RafId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@QtyTransferred" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QtyTransferred" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@NewBalance" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="NewBalance" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT HareketDetayId, StokId, DepoId, RafId, QtyTransferred, NewBalance, ModifiedOn, ModifiedBy, TS FROM A.HareketDetayStok</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [A].[HareketDetayStok] SET [HareketDetayId] = @HareketDetayId, [StokId] = @StokId, [DepoId] = @DepoId, [RafId] = @RafId, [QtyTransferred] = @QtyTransferred, [NewBalance] = @NewBalance, [ModifiedOn] = @ModifiedOn, [ModifiedBy] = @ModifiedBy WHERE (([HareketDetayId] = @Original_HareketDetayId) AND ([StokId] = @Original_StokId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT HareketDetayId, StokId, DepoId, RafId, QtyTransferred, NewBalance, ModifiedOn, ModifiedBy, TS FROM A.HareketDetayStok WHERE (HareketDetayId = @HareketDetayId) AND (StokId = @StokId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepoId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepoId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@RafId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="RafId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@QtyTransferred" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QtyTransferred" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@NewBalance" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="NewBalance" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="HareketDetayId" DataSetColumn="HareketDetayId" />
              <Mapping SourceColumn="StokId" DataSetColumn="StokId" />
              <Mapping SourceColumn="DepoId" DataSetColumn="DepoId" />
              <Mapping SourceColumn="RafId" DataSetColumn="RafId" />
              <Mapping SourceColumn="QtyTransferred" DataSetColumn="QtyTransferred" />
              <Mapping SourceColumn="NewBalance" DataSetColumn="NewBalance" />
              <Mapping SourceColumn="ModifiedOn" DataSetColumn="ModifiedOn" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HareketDetayTopTableAdapter" GeneratorDataComponentClassName="HareketDetayTopTableAdapter" Name="HareketDetayTop" UserDataComponentName="HareketDetayTopTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.A.HareketDetayTop" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [A].[HareketDetayTop] WHERE (([HareketDetayId] = @Original_HareketDetayId) AND ([TopId] = @Original_TopId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [A].[HareketDetayTop] ([HareketDetayId], [TopId], [StokId], [DepoId], [RafId], [QtyTransferred], [ModifiedOn], [ModifiedBy]) VALUES (@HareketDetayId, @TopId, @StokId, @DepoId, @RafId, @QtyTransferred, @ModifiedOn, @ModifiedBy);
SELECT HareketDetayId, TopId, StokId, DepoId, RafId, QtyTransferred, ModifiedOn, ModifiedBy, TS FROM A.HareketDetayTop WHERE (HareketDetayId = @HareketDetayId) AND (TopId = @TopId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepoId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepoId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@RafId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="RafId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@QtyTransferred" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QtyTransferred" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT HareketDetayId, TopId, StokId, DepoId, RafId, QtyTransferred, ModifiedOn, ModifiedBy, TS FROM A.HareketDetayTop</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [A].[HareketDetayTop] SET [HareketDetayId] = @HareketDetayId, [TopId] = @TopId, [StokId] = @StokId, [DepoId] = @DepoId, [RafId] = @RafId, [QtyTransferred] = @QtyTransferred, [ModifiedOn] = @ModifiedOn, [ModifiedBy] = @ModifiedBy WHERE (([HareketDetayId] = @Original_HareketDetayId) AND ([TopId] = @Original_TopId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT HareketDetayId, TopId, StokId, DepoId, RafId, QtyTransferred, ModifiedOn, ModifiedBy, TS FROM A.HareketDetayTop WHERE (HareketDetayId = @HareketDetayId) AND (TopId = @TopId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepoId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepoId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@RafId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="RafId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@QtyTransferred" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="QtyTransferred" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="HareketDetayId" DataSetColumn="HareketDetayId" />
              <Mapping SourceColumn="TopId" DataSetColumn="TopId" />
              <Mapping SourceColumn="StokId" DataSetColumn="StokId" />
              <Mapping SourceColumn="DepoId" DataSetColumn="DepoId" />
              <Mapping SourceColumn="RafId" DataSetColumn="RafId" />
              <Mapping SourceColumn="QtyTransferred" DataSetColumn="QtyTransferred" />
              <Mapping SourceColumn="ModifiedOn" DataSetColumn="ModifiedOn" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="InventoryTableAdapter" GeneratorDataComponentClassName="InventoryTableAdapter" Name="Inventory" UserDataComponentName="InventoryTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.A.Inventory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [A].[Inventory] WHERE (([InventoryId] = @Original_InventoryId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InventoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InventoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [A].[Inventory] ([TopId], [StokId], [HareketDetayId], [DepoId], [RafId], [Balance], [ModifiedOn], [ModifiedBy]) VALUES (@TopId, @StokId, @HareketDetayId, @DepoId, @RafId, @Balance, @ModifiedOn, @ModifiedBy);
SELECT InventoryId, TopId, StokId, HareketDetayId, DepoId, RafId, Balance, ModifiedOn, ModifiedBy, TS FROM A.Inventory WHERE (InventoryId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepoId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepoId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@RafId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="RafId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Balance" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT InventoryId, TopId, StokId, HareketDetayId, DepoId, RafId, Balance, ModifiedOn, ModifiedBy, TS FROM A.Inventory</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [A].[Inventory] SET [TopId] = @TopId, [StokId] = @StokId, [HareketDetayId] = @HareketDetayId, [DepoId] = @DepoId, [RafId] = @RafId, [Balance] = @Balance, [ModifiedOn] = @ModifiedOn, [ModifiedBy] = @ModifiedBy WHERE (([InventoryId] = @Original_InventoryId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT InventoryId, TopId, StokId, HareketDetayId, DepoId, RafId, Balance, ModifiedOn, ModifiedBy, TS FROM A.Inventory WHERE (InventoryId = @InventoryId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DepoId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DepoId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@RafId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="RafId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Balance" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_InventoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InventoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="InventoryId" ColumnName="InventoryId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@InventoryId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="InventoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="InventoryId" DataSetColumn="InventoryId" />
              <Mapping SourceColumn="TopId" DataSetColumn="TopId" />
              <Mapping SourceColumn="StokId" DataSetColumn="StokId" />
              <Mapping SourceColumn="HareketDetayId" DataSetColumn="HareketDetayId" />
              <Mapping SourceColumn="DepoId" DataSetColumn="DepoId" />
              <Mapping SourceColumn="RafId" DataSetColumn="RafId" />
              <Mapping SourceColumn="Balance" DataSetColumn="Balance" />
              <Mapping SourceColumn="ModifiedOn" DataSetColumn="ModifiedOn" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RollTableAdapter" GeneratorDataComponentClassName="RollTableAdapter" Name="Roll" UserDataComponentName="RollTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.A.Roll" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [A].[Roll] WHERE (([TopId] = @Original_TopId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [A].[Roll] ([BelgeDetayId], [Color], [En], [InitialQty], [UnitPrice], [DovizCinsiId], [isExpired], [ModifiedOn], [ModifiedBy]) VALUES (@BelgeDetayId, @Color, @En, @InitialQty, @UnitPrice, @DovizCinsiId, @isExpired, @ModifiedOn, @ModifiedBy);
SELECT TopId, BelgeDetayId, Color, En, InitialQty, UnitPrice, DovizCinsiId, isExpired, ModifiedOn, ModifiedBy, TS FROM A.Roll WHERE (TopId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BelgeDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Color" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@En" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="En" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@InitialQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="InitialQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DovizCinsiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DovizCinsiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isExpired" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isExpired" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT TopId, BelgeDetayId, Color, En, InitialQty, UnitPrice, DovizCinsiId, isExpired, ModifiedOn, ModifiedBy, TS FROM A.Roll</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [A].[Roll] SET [BelgeDetayId] = @BelgeDetayId, [Color] = @Color, [En] = @En, [InitialQty] = @InitialQty, [UnitPrice] = @UnitPrice, [DovizCinsiId] = @DovizCinsiId, [isExpired] = @isExpired, [ModifiedOn] = @ModifiedOn, [ModifiedBy] = @ModifiedBy WHERE (([TopId] = @Original_TopId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT TopId, BelgeDetayId, Color, En, InitialQty, UnitPrice, DovizCinsiId, isExpired, ModifiedOn, ModifiedBy, TS FROM A.Roll WHERE (TopId = @TopId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BelgeDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Color" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Color" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@En" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="En" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@InitialQty" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="InitialQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DovizCinsiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DovizCinsiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isExpired" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isExpired" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TopId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="TopId" ColumnName="TopId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@TopId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="TopId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TopId" DataSetColumn="TopId" />
              <Mapping SourceColumn="BelgeDetayId" DataSetColumn="BelgeDetayId" />
              <Mapping SourceColumn="Color" DataSetColumn="Color" />
              <Mapping SourceColumn="En" DataSetColumn="En" />
              <Mapping SourceColumn="InitialQty" DataSetColumn="InitialQty" />
              <Mapping SourceColumn="UnitPrice" DataSetColumn="UnitPrice" />
              <Mapping SourceColumn="DovizCinsiId" DataSetColumn="DovizCinsiId" />
              <Mapping SourceColumn="isExpired" DataSetColumn="isExpired" />
              <Mapping SourceColumn="ModifiedOn" DataSetColumn="ModifiedOn" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SanalRezerveTableAdapter" GeneratorDataComponentClassName="SanalRezerveTableAdapter" Name="SanalRezerve" UserDataComponentName="SanalRezerveTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.A.SanalRezerve" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [A].[SanalRezerve] WHERE (([SanalRezerveId] = @Original_SanalRezerveId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SanalRezerveId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SanalRezerveId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [A].[SanalRezerve] ([HareketDetayId], [ValidUntil], [ModifiedOn], [ModifiedBy]) VALUES (@HareketDetayId, @ValidUntil, @ModifiedOn, @ModifiedBy);
SELECT SanalRezerveId, HareketDetayId, ValidUntil, ModifiedOn, ModifiedBy, TS FROM A.SanalRezerve WHERE (SanalRezerveId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ValidUntil" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ValidUntil" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SanalRezerveId, HareketDetayId, ValidUntil, ModifiedOn, ModifiedBy, TS FROM A.SanalRezerve</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [A].[SanalRezerve] SET [HareketDetayId] = @HareketDetayId, [ValidUntil] = @ValidUntil, [ModifiedOn] = @ModifiedOn, [ModifiedBy] = @ModifiedBy WHERE (([SanalRezerveId] = @Original_SanalRezerveId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT SanalRezerveId, HareketDetayId, ValidUntil, ModifiedOn, ModifiedBy, TS FROM A.SanalRezerve WHERE (SanalRezerveId = @SanalRezerveId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HareketDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HareketDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ValidUntil" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ValidUntil" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SanalRezerveId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SanalRezerveId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="SanalRezerveId" ColumnName="SanalRezerveId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SanalRezerveId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="SanalRezerveId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SanalRezerveId" DataSetColumn="SanalRezerveId" />
              <Mapping SourceColumn="HareketDetayId" DataSetColumn="HareketDetayId" />
              <Mapping SourceColumn="ValidUntil" DataSetColumn="ValidUntil" />
              <Mapping SourceColumn="ModifiedOn" DataSetColumn="ModifiedOn" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StokTableAdapter" GeneratorDataComponentClassName="StokTableAdapter" Name="Stok" UserDataComponentName="StokTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.A.Stok" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [A].[Stok] WHERE (([StokId] = @Original_StokId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [A].[Stok] ([StokkoduTipiId], [StokArticle], [StokCode], [StokAdi], [StokTipiId], [GenelStokKalemi], [MinStockQty], [FAO], [Notes], [ModifiedOn], [ModifiedBy]) VALUES (@StokkoduTipiId, @StokArticle, @StokCode, @StokAdi, @StokTipiId, @GenelStokKalemi, @MinStockQty, @FAO, @Notes, @ModifiedOn, @ModifiedBy);
SELECT StokId, StokkoduTipiId, StokArticle, StokCode, StokAdi, StokTipiId, GenelStokKalemi, MinStockQty, FAO, Notes, ModifiedOn, ModifiedBy, TS FROM A.Stok WHERE (StokId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@StokkoduTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="StokkoduTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokArticle" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokArticle" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokAdi" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokAdi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@StokTipiId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StokTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@GenelStokKalemi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="GenelStokKalemi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MinStockQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MinStockQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@FAO" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="FAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT StokId, StokkoduTipiId, StokArticle, StokCode, StokAdi, StokTipiId, GenelStokKalemi, MinStockQty, FAO, Notes, ModifiedOn, ModifiedBy, TS FROM A.Stok</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [A].[Stok] SET [StokkoduTipiId] = @StokkoduTipiId, [StokArticle] = @StokArticle, [StokCode] = @StokCode, [StokAdi] = @StokAdi, [StokTipiId] = @StokTipiId, [GenelStokKalemi] = @GenelStokKalemi, [MinStockQty] = @MinStockQty, [FAO] = @FAO, [Notes] = @Notes, [ModifiedOn] = @ModifiedOn, [ModifiedBy] = @ModifiedBy WHERE (([StokId] = @Original_StokId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT StokId, StokkoduTipiId, StokArticle, StokCode, StokAdi, StokTipiId, GenelStokKalemi, MinStockQty, FAO, Notes, ModifiedOn, ModifiedBy, TS FROM A.Stok WHERE (StokId = @StokId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@StokkoduTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="StokkoduTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokArticle" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokArticle" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokAdi" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokAdi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@StokTipiId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StokTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@GenelStokKalemi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="GenelStokKalemi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@MinStockQty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MinStockQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@FAO" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="FAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="StokId" ColumnName="StokId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="StokId" DataSetColumn="StokId" />
              <Mapping SourceColumn="StokkoduTipiId" DataSetColumn="StokkoduTipiId" />
              <Mapping SourceColumn="StokArticle" DataSetColumn="StokArticle" />
              <Mapping SourceColumn="StokCode" DataSetColumn="StokCode" />
              <Mapping SourceColumn="StokAdi" DataSetColumn="StokAdi" />
              <Mapping SourceColumn="StokTipiId" DataSetColumn="StokTipiId" />
              <Mapping SourceColumn="GenelStokKalemi" DataSetColumn="GenelStokKalemi" />
              <Mapping SourceColumn="MinStockQty" DataSetColumn="MinStockQty" />
              <Mapping SourceColumn="FAO" DataSetColumn="FAO" />
              <Mapping SourceColumn="Notes" DataSetColumn="Notes" />
              <Mapping SourceColumn="ModifiedOn" DataSetColumn="ModifiedOn" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.dbo.sec" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillByCr" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByCr" GeneratorSourceName="FillByCr" GetMethodModifier="Public" GetMethodName="GetDataByCr" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByCr" UserSourceName="FillByCr">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.sec</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@table" Precision="0" ProviderType="VarChar" Scale="0" Size="64" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@criteria" Precision="0" ProviderType="VarChar" Scale="0" Size="4096" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.dbo.secTop10" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="FillTop10" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataTop10" GeneratorSourceName="FillTop10" GetMethodModifier="Public" GetMethodName="GetDataTop10" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataTop10" UserSourceName="FillTop10">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.secTop10</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@table" Precision="0" ProviderType="VarChar" Scale="0" Size="64" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ToplarınDağılımıTableAdapter" GeneratorDataComponentClassName="ToplarınDağılımıTableAdapter" Name="ToplarınDağılımı" UserDataComponentName="ToplarınDağılımıTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.dbo.ToplarınDağılımı" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT TopId, Color, En, InitialQty, UnitPrice, InventoryId, DepoId, RafId, Balance, StokId, StokkoduTipiId, StokArticle, StokTipiId, GenelStokKalemi FROM dbo.ToplarınDağılımı</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TopId" DataSetColumn="TopId" />
              <Mapping SourceColumn="Color" DataSetColumn="Color" />
              <Mapping SourceColumn="En" DataSetColumn="En" />
              <Mapping SourceColumn="InitialQty" DataSetColumn="InitialQty" />
              <Mapping SourceColumn="UnitPrice" DataSetColumn="UnitPrice" />
              <Mapping SourceColumn="InventoryId" DataSetColumn="InventoryId" />
              <Mapping SourceColumn="DepoId" DataSetColumn="DepoId" />
              <Mapping SourceColumn="RafId" DataSetColumn="RafId" />
              <Mapping SourceColumn="Balance" DataSetColumn="Balance" />
              <Mapping SourceColumn="StokId" DataSetColumn="StokId" />
              <Mapping SourceColumn="StokkoduTipiId" DataSetColumn="StokkoduTipiId" />
              <Mapping SourceColumn="StokArticle" DataSetColumn="StokArticle" />
              <Mapping SourceColumn="StokTipiId" DataSetColumn="StokTipiId" />
              <Mapping SourceColumn="GenelStokKalemi" DataSetColumn="GenelStokKalemi" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesOrderHeaderTableAdapter" GeneratorDataComponentClassName="SalesOrderHeaderTableAdapter" Name="SalesOrderHeader" UserDataComponentName="SalesOrderHeaderTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.Sales.SalesOrderHeader" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Sales].[SalesOrderHeader] WHERE (([SalesOrderID] = @Original_SalesOrderID) AND ([RevisionNumber] = @Original_RevisionNumber) AND ([OrderDate] = @Original_OrderDate) AND ([DueDate] = @Original_DueDate) AND ((@IsNull_ShipDate = 1 AND [ShipDate] IS NULL) OR ([ShipDate] = @Original_ShipDate)) AND ([Status] = @Original_Status) AND ([OnlineOrderFlag] = @Original_OnlineOrderFlag) AND ([SalesOrderNumber] = @Original_SalesOrderNumber) AND ((@IsNull_PurchaseOrderNumber = 1 AND [PurchaseOrderNumber] IS NULL) OR ([PurchaseOrderNumber] = @Original_PurchaseOrderNumber)) AND ((@IsNull_AccountNumber = 1 AND [AccountNumber] IS NULL) OR ([AccountNumber] = @Original_AccountNumber)) AND ([CustomerID] = @Original_CustomerID) AND ([ContactID] = @Original_ContactID) AND ((@IsNull_SalesPersonID = 1 AND [SalesPersonID] IS NULL) OR ([SalesPersonID] = @Original_SalesPersonID)) AND ((@IsNull_TerritoryID = 1 AND [TerritoryID] IS NULL) OR ([TerritoryID] = @Original_TerritoryID)) AND ([BillToAddressID] = @Original_BillToAddressID) AND ([ShipToAddressID] = @Original_ShipToAddressID) AND ([ShipMethodID] = @Original_ShipMethodID) AND ((@IsNull_CreditCardID = 1 AND [CreditCardID] IS NULL) OR ([CreditCardID] = @Original_CreditCardID)) AND ((@IsNull_CreditCardApprovalCode = 1 AND [CreditCardApprovalCode] IS NULL) OR ([CreditCardApprovalCode] = @Original_CreditCardApprovalCode)) AND ((@IsNull_CurrencyRateID = 1 AND [CurrencyRateID] IS NULL) OR ([CurrencyRateID] = @Original_CurrencyRateID)) AND ([SubTotal] = @Original_SubTotal) AND ([TaxAmt] = @Original_TaxAmt) AND ([Freight] = @Original_Freight) AND ([TotalDue] = @Original_TotalDue) AND ((@IsNull_Comment = 1 AND [Comment] IS NULL) OR ([Comment] = @Original_Comment)) AND ([rowguid] = @Original_rowguid) AND ([ModifiedDate] = @Original_ModifiedDate))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_RevisionNumber" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="RevisionNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_OrderDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ShipDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ShipDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ShipDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_OnlineOrderFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="OnlineOrderFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SalesOrderNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SalesOrderNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PurchaseOrderNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PurchaseOrderNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PurchaseOrderNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AccountNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AccountNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SalesPersonID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesPersonID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TerritoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TerritoryID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TerritoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TerritoryID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BillToAddressID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BillToAddressID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ShipToAddressID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipToAddressID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ShipMethodID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipMethodID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CreditCardID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreditCardID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CreditCardID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreditCardID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CreditCardApprovalCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreditCardApprovalCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CreditCardApprovalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CreditCardApprovalCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CurrencyRateID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyRateID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CurrencyRateID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyRateID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_SubTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_TaxAmt" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TaxAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Freight" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Freight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_TotalDue" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TotalDue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Comment" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Comment" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Comment" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Comment" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Sales].[SalesOrderHeader] ([RevisionNumber], [OrderDate], [DueDate], [ShipDate], [Status], [OnlineOrderFlag], [SalesOrderNumber], [PurchaseOrderNumber], [AccountNumber], [CustomerID], [ContactID], [SalesPersonID], [TerritoryID], [BillToAddressID], [ShipToAddressID], [ShipMethodID], [CreditCardID], [CreditCardApprovalCode], [CurrencyRateID], [SubTotal], [TaxAmt], [Freight], [TotalDue], [Comment], [rowguid], [ModifiedDate]) VALUES (@RevisionNumber, @OrderDate, @DueDate, @ShipDate, @Status, @OnlineOrderFlag, @SalesOrderNumber, @PurchaseOrderNumber, @AccountNumber, @CustomerID, @ContactID, @SalesPersonID, @TerritoryID, @BillToAddressID, @ShipToAddressID, @ShipMethodID, @CreditCardID, @CreditCardApprovalCode, @CurrencyRateID, @SubTotal, @TaxAmt, @Freight, @TotalDue, @Comment, @rowguid, @ModifiedDate);
SELECT SalesOrderID, RevisionNumber, OrderDate, DueDate, ShipDate, Status, OnlineOrderFlag, SalesOrderNumber, PurchaseOrderNumber, AccountNumber, CustomerID, ContactID, SalesPersonID, TerritoryID, BillToAddressID, ShipToAddressID, ShipMethodID, CreditCardID, CreditCardApprovalCode, CurrencyRateID, SubTotal, TaxAmt, Freight, TotalDue, Comment, rowguid, ModifiedDate FROM Sales.SalesOrderHeader WHERE (SalesOrderID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@RevisionNumber" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="RevisionNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OrderDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ShipDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ShipDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@OnlineOrderFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="OnlineOrderFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SalesOrderNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SalesOrderNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PurchaseOrderNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PurchaseOrderNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesPersonID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TerritoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TerritoryID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BillToAddressID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BillToAddressID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ShipToAddressID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipToAddressID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ShipMethodID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipMethodID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CreditCardID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreditCardID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CreditCardApprovalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CreditCardApprovalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CurrencyRateID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyRateID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SubTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TaxAmt" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TaxAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Freight" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Freight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TotalDue" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TotalDue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Comment" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Comment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesOrderID, RevisionNumber, OrderDate, DueDate, ShipDate, Status, OnlineOrderFlag, SalesOrderNumber, PurchaseOrderNumber, AccountNumber, CustomerID, ContactID, SalesPersonID, TerritoryID, BillToAddressID, ShipToAddressID, ShipMethodID, CreditCardID, CreditCardApprovalCode, CurrencyRateID, SubTotal, TaxAmt, Freight, TotalDue, Comment, rowguid, ModifiedDate FROM Sales.SalesOrderHeader</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Sales].[SalesOrderHeader] SET [RevisionNumber] = @RevisionNumber, [OrderDate] = @OrderDate, [DueDate] = @DueDate, [ShipDate] = @ShipDate, [Status] = @Status, [OnlineOrderFlag] = @OnlineOrderFlag, [SalesOrderNumber] = @SalesOrderNumber, [PurchaseOrderNumber] = @PurchaseOrderNumber, [AccountNumber] = @AccountNumber, [CustomerID] = @CustomerID, [ContactID] = @ContactID, [SalesPersonID] = @SalesPersonID, [TerritoryID] = @TerritoryID, [BillToAddressID] = @BillToAddressID, [ShipToAddressID] = @ShipToAddressID, [ShipMethodID] = @ShipMethodID, [CreditCardID] = @CreditCardID, [CreditCardApprovalCode] = @CreditCardApprovalCode, [CurrencyRateID] = @CurrencyRateID, [SubTotal] = @SubTotal, [TaxAmt] = @TaxAmt, [Freight] = @Freight, [TotalDue] = @TotalDue, [Comment] = @Comment, [rowguid] = @rowguid, [ModifiedDate] = @ModifiedDate WHERE (([SalesOrderID] = @Original_SalesOrderID) AND ([RevisionNumber] = @Original_RevisionNumber) AND ([OrderDate] = @Original_OrderDate) AND ([DueDate] = @Original_DueDate) AND ((@IsNull_ShipDate = 1 AND [ShipDate] IS NULL) OR ([ShipDate] = @Original_ShipDate)) AND ([Status] = @Original_Status) AND ([OnlineOrderFlag] = @Original_OnlineOrderFlag) AND ([SalesOrderNumber] = @Original_SalesOrderNumber) AND ((@IsNull_PurchaseOrderNumber = 1 AND [PurchaseOrderNumber] IS NULL) OR ([PurchaseOrderNumber] = @Original_PurchaseOrderNumber)) AND ((@IsNull_AccountNumber = 1 AND [AccountNumber] IS NULL) OR ([AccountNumber] = @Original_AccountNumber)) AND ([CustomerID] = @Original_CustomerID) AND ([ContactID] = @Original_ContactID) AND ((@IsNull_SalesPersonID = 1 AND [SalesPersonID] IS NULL) OR ([SalesPersonID] = @Original_SalesPersonID)) AND ((@IsNull_TerritoryID = 1 AND [TerritoryID] IS NULL) OR ([TerritoryID] = @Original_TerritoryID)) AND ([BillToAddressID] = @Original_BillToAddressID) AND ([ShipToAddressID] = @Original_ShipToAddressID) AND ([ShipMethodID] = @Original_ShipMethodID) AND ((@IsNull_CreditCardID = 1 AND [CreditCardID] IS NULL) OR ([CreditCardID] = @Original_CreditCardID)) AND ((@IsNull_CreditCardApprovalCode = 1 AND [CreditCardApprovalCode] IS NULL) OR ([CreditCardApprovalCode] = @Original_CreditCardApprovalCode)) AND ((@IsNull_CurrencyRateID = 1 AND [CurrencyRateID] IS NULL) OR ([CurrencyRateID] = @Original_CurrencyRateID)) AND ([SubTotal] = @Original_SubTotal) AND ([TaxAmt] = @Original_TaxAmt) AND ([Freight] = @Original_Freight) AND ([TotalDue] = @Original_TotalDue) AND ((@IsNull_Comment = 1 AND [Comment] IS NULL) OR ([Comment] = @Original_Comment)) AND ([rowguid] = @Original_rowguid) AND ([ModifiedDate] = @Original_ModifiedDate));
SELECT SalesOrderID, RevisionNumber, OrderDate, DueDate, ShipDate, Status, OnlineOrderFlag, SalesOrderNumber, PurchaseOrderNumber, AccountNumber, CustomerID, ContactID, SalesPersonID, TerritoryID, BillToAddressID, ShipToAddressID, ShipMethodID, CreditCardID, CreditCardApprovalCode, CurrencyRateID, SubTotal, TaxAmt, Freight, TotalDue, Comment, rowguid, ModifiedDate FROM Sales.SalesOrderHeader WHERE (SalesOrderID = @SalesOrderID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@RevisionNumber" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="RevisionNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OrderDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ShipDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ShipDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@OnlineOrderFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="OnlineOrderFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SalesOrderNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SalesOrderNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PurchaseOrderNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PurchaseOrderNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesPersonID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TerritoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TerritoryID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BillToAddressID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BillToAddressID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ShipToAddressID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipToAddressID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ShipMethodID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipMethodID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CreditCardID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreditCardID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CreditCardApprovalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CreditCardApprovalCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CurrencyRateID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyRateID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SubTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TaxAmt" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TaxAmt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Freight" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Freight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TotalDue" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TotalDue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Comment" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Comment" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_RevisionNumber" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="RevisionNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_OrderDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DueDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DueDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ShipDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ShipDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ShipDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_OnlineOrderFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="OnlineOrderFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SalesOrderNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SalesOrderNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PurchaseOrderNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PurchaseOrderNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PurchaseOrderNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PurchaseOrderNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AccountNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AccountNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SalesPersonID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesPersonID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TerritoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TerritoryID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TerritoryID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TerritoryID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BillToAddressID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BillToAddressID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ShipToAddressID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipToAddressID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ShipMethodID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipMethodID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CreditCardID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreditCardID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CreditCardID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreditCardID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CreditCardApprovalCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreditCardApprovalCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CreditCardApprovalCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CreditCardApprovalCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CurrencyRateID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyRateID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CurrencyRateID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyRateID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_SubTotal" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SubTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_TaxAmt" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TaxAmt" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Freight" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Freight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_TotalDue" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TotalDue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Comment" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Comment" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Comment" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Comment" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="SalesOrderID" ColumnName="SalesOrderID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SalesOrderID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="SalesOrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesOrderID" DataSetColumn="SalesOrderID" />
              <Mapping SourceColumn="RevisionNumber" DataSetColumn="RevisionNumber" />
              <Mapping SourceColumn="OrderDate" DataSetColumn="OrderDate" />
              <Mapping SourceColumn="DueDate" DataSetColumn="DueDate" />
              <Mapping SourceColumn="ShipDate" DataSetColumn="ShipDate" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="OnlineOrderFlag" DataSetColumn="OnlineOrderFlag" />
              <Mapping SourceColumn="SalesOrderNumber" DataSetColumn="SalesOrderNumber" />
              <Mapping SourceColumn="PurchaseOrderNumber" DataSetColumn="PurchaseOrderNumber" />
              <Mapping SourceColumn="AccountNumber" DataSetColumn="AccountNumber" />
              <Mapping SourceColumn="CustomerID" DataSetColumn="CustomerID" />
              <Mapping SourceColumn="ContactID" DataSetColumn="ContactID" />
              <Mapping SourceColumn="SalesPersonID" DataSetColumn="SalesPersonID" />
              <Mapping SourceColumn="TerritoryID" DataSetColumn="TerritoryID" />
              <Mapping SourceColumn="BillToAddressID" DataSetColumn="BillToAddressID" />
              <Mapping SourceColumn="ShipToAddressID" DataSetColumn="ShipToAddressID" />
              <Mapping SourceColumn="ShipMethodID" DataSetColumn="ShipMethodID" />
              <Mapping SourceColumn="CreditCardID" DataSetColumn="CreditCardID" />
              <Mapping SourceColumn="CreditCardApprovalCode" DataSetColumn="CreditCardApprovalCode" />
              <Mapping SourceColumn="CurrencyRateID" DataSetColumn="CurrencyRateID" />
              <Mapping SourceColumn="SubTotal" DataSetColumn="SubTotal" />
              <Mapping SourceColumn="TaxAmt" DataSetColumn="TaxAmt" />
              <Mapping SourceColumn="Freight" DataSetColumn="Freight" />
              <Mapping SourceColumn="TotalDue" DataSetColumn="TotalDue" />
              <Mapping SourceColumn="Comment" DataSetColumn="Comment" />
              <Mapping SourceColumn="rowguid" DataSetColumn="rowguid" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesOrderDetailTableAdapter" GeneratorDataComponentClassName="SalesOrderDetailTableAdapter" Name="SalesOrderDetail" UserDataComponentName="SalesOrderDetailTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.Sales.SalesOrderDetail" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Sales].[SalesOrderDetail] WHERE (([SalesOrderID] = @Original_SalesOrderID) AND ([SalesOrderDetailID] = @Original_SalesOrderDetailID) AND ((@IsNull_CarrierTrackingNumber = 1 AND [CarrierTrackingNumber] IS NULL) OR ([CarrierTrackingNumber] = @Original_CarrierTrackingNumber)) AND ([OrderQty] = @Original_OrderQty) AND ([ProductID] = @Original_ProductID) AND ([SpecialOfferID] = @Original_SpecialOfferID) AND ([UnitPrice] = @Original_UnitPrice) AND ([UnitPriceDiscount] = @Original_UnitPriceDiscount) AND ([LineTotal] = @Original_LineTotal) AND ([rowguid] = @Original_rowguid) AND ([ModifiedDate] = @Original_ModifiedDate))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderDetailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderDetailID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CarrierTrackingNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CarrierTrackingNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CarrierTrackingNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CarrierTrackingNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_OrderQty" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="OrderQty" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SpecialOfferID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SpecialOfferID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_UnitPriceDiscount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPriceDiscount" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_LineTotal" Precision="38" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="LineTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Sales].[SalesOrderDetail] ([SalesOrderID], [CarrierTrackingNumber], [OrderQty], [ProductID], [SpecialOfferID], [UnitPrice], [UnitPriceDiscount], [LineTotal], [rowguid], [ModifiedDate]) VALUES (@SalesOrderID, @CarrierTrackingNumber, @OrderQty, @ProductID, @SpecialOfferID, @UnitPrice, @UnitPriceDiscount, @LineTotal, @rowguid, @ModifiedDate);
SELECT SalesOrderID, SalesOrderDetailID, CarrierTrackingNumber, OrderQty, ProductID, SpecialOfferID, UnitPrice, UnitPriceDiscount, LineTotal, rowguid, ModifiedDate FROM Sales.SalesOrderDetail WHERE (SalesOrderDetailID = SCOPE_IDENTITY()) AND (SalesOrderID = @SalesOrderID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesOrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CarrierTrackingNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CarrierTrackingNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@OrderQty" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="OrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SpecialOfferID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SpecialOfferID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPriceDiscount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPriceDiscount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@LineTotal" Precision="38" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="LineTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesOrderID, SalesOrderDetailID, CarrierTrackingNumber, OrderQty, ProductID, SpecialOfferID, UnitPrice, UnitPriceDiscount, LineTotal, rowguid, ModifiedDate FROM Sales.SalesOrderDetail</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Sales].[SalesOrderDetail] SET [SalesOrderID] = @SalesOrderID, [CarrierTrackingNumber] = @CarrierTrackingNumber, [OrderQty] = @OrderQty, [ProductID] = @ProductID, [SpecialOfferID] = @SpecialOfferID, [UnitPrice] = @UnitPrice, [UnitPriceDiscount] = @UnitPriceDiscount, [LineTotal] = @LineTotal, [rowguid] = @rowguid, [ModifiedDate] = @ModifiedDate WHERE (([SalesOrderID] = @Original_SalesOrderID) AND ([SalesOrderDetailID] = @Original_SalesOrderDetailID) AND ((@IsNull_CarrierTrackingNumber = 1 AND [CarrierTrackingNumber] IS NULL) OR ([CarrierTrackingNumber] = @Original_CarrierTrackingNumber)) AND ([OrderQty] = @Original_OrderQty) AND ([ProductID] = @Original_ProductID) AND ([SpecialOfferID] = @Original_SpecialOfferID) AND ([UnitPrice] = @Original_UnitPrice) AND ([UnitPriceDiscount] = @Original_UnitPriceDiscount) AND ([LineTotal] = @Original_LineTotal) AND ([rowguid] = @Original_rowguid) AND ([ModifiedDate] = @Original_ModifiedDate));
SELECT SalesOrderID, SalesOrderDetailID, CarrierTrackingNumber, OrderQty, ProductID, SpecialOfferID, UnitPrice, UnitPriceDiscount, LineTotal, rowguid, ModifiedDate FROM Sales.SalesOrderDetail WHERE (SalesOrderDetailID = @SalesOrderDetailID) AND (SalesOrderID = @SalesOrderID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesOrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CarrierTrackingNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CarrierTrackingNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@OrderQty" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="OrderQty" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SpecialOfferID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SpecialOfferID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPriceDiscount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPriceDiscount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@LineTotal" Precision="38" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="LineTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesOrderDetailID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesOrderDetailID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CarrierTrackingNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CarrierTrackingNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CarrierTrackingNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CarrierTrackingNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_OrderQty" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="OrderQty" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SpecialOfferID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SpecialOfferID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_UnitPriceDiscount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPriceDiscount" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_LineTotal" Precision="38" ProviderType="Decimal" Scale="6" Size="0" SourceColumn="LineTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_rowguid" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="rowguid" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="SalesOrderDetailID" ColumnName="SalesOrderDetailID" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SalesOrderDetailID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="SalesOrderDetailID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesOrderID" DataSetColumn="SalesOrderID" />
              <Mapping SourceColumn="SalesOrderDetailID" DataSetColumn="SalesOrderDetailID" />
              <Mapping SourceColumn="CarrierTrackingNumber" DataSetColumn="CarrierTrackingNumber" />
              <Mapping SourceColumn="OrderQty" DataSetColumn="OrderQty" />
              <Mapping SourceColumn="ProductID" DataSetColumn="ProductID" />
              <Mapping SourceColumn="SpecialOfferID" DataSetColumn="SpecialOfferID" />
              <Mapping SourceColumn="UnitPrice" DataSetColumn="UnitPrice" />
              <Mapping SourceColumn="UnitPriceDiscount" DataSetColumn="UnitPriceDiscount" />
              <Mapping SourceColumn="LineTotal" DataSetColumn="LineTotal" />
              <Mapping SourceColumn="rowguid" DataSetColumn="rowguid" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OzellikTableAdapter" GeneratorDataComponentClassName="OzellikTableAdapter" Name="Ozellik" UserDataComponentName="OzellikTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AdventureWorksConnectionString (Settings)" DbObjectName="AdventureWorks.A.Ozellik" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [A].[Ozellik] WHERE (([OzellikId] = @Original_OzellikId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OzellikId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OzellikId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [A].[Ozellik] ([BelgeDetayId], [StokId], [Artikel], [Boy], [Cins], [En], [Agirlik], [Kalinlik], [Kompozisyon], [Kalite], [KesimSekli], [Marka], [Ölcü], [Renk], [Birim], [ModifiedOn], [ModifiedBy]) VALUES (@BelgeDetayId, @StokId, @Artikel, @Boy, @Cins, @En, @Agirlik, @Kalinlik, @Kompozisyon, @Kalite, @KesimSekli, @Marka, @Ölcü, @Renk, @Birim, @ModifiedOn, @ModifiedBy);
SELECT OzellikId, BelgeDetayId, StokId, Artikel, Boy, Cins, En, Agirlik, Kalinlik, Kompozisyon, Kalite, KesimSekli, Marka, Ölcü, Renk, Birim, ModifiedOn, ModifiedBy, TS FROM A.Ozellik WHERE (OzellikId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BelgeDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Artikel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Artikel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Boy" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Boy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Cins" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Cins" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@En" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="En" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Agirlik" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Agirlik" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Kalinlik" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Kalinlik" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Kompozisyon" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Kompozisyon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Kalite" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Kalite" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@KesimSekli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KesimSekli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Marka" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Marka" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Ölcü" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ölcü" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Renk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Renk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Birim" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Birim" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT OzellikId, BelgeDetayId, StokId, Artikel, Boy, Cins, En, Agirlik, Kalinlik, Kompozisyon, Kalite, KesimSekli, Marka, Ölcü, Renk, Birim, ModifiedOn, ModifiedBy, TS FROM A.Ozellik</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [A].[Ozellik] SET [BelgeDetayId] = @BelgeDetayId, [StokId] = @StokId, [Artikel] = @Artikel, [Boy] = @Boy, [Cins] = @Cins, [En] = @En, [Agirlik] = @Agirlik, [Kalinlik] = @Kalinlik, [Kompozisyon] = @Kompozisyon, [Kalite] = @Kalite, [KesimSekli] = @KesimSekli, [Marka] = @Marka, [Ölcü] = @Ölcü, [Renk] = @Renk, [Birim] = @Birim, [ModifiedOn] = @ModifiedOn, [ModifiedBy] = @ModifiedBy WHERE (([OzellikId] = @Original_OzellikId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT OzellikId, BelgeDetayId, StokId, Artikel, Boy, Cins, En, Agirlik, Kalinlik, Kompozisyon, Kalite, KesimSekli, Marka, Ölcü, Renk, Birim, ModifiedOn, ModifiedBy, TS FROM A.Ozellik WHERE (OzellikId = @OzellikId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BelgeDetayId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BelgeDetayId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@StokId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StokId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Artikel" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Artikel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Boy" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Boy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Cins" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Cins" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@En" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="En" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Agirlik" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Agirlik" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Kalinlik" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Kalinlik" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Kompozisyon" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Kompozisyon" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Kalite" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Kalite" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@KesimSekli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="KesimSekli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Marka" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Marka" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Ölcü" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ölcü" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Renk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Renk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Birim" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Birim" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OzellikId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OzellikId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="OzellikId" ColumnName="OzellikId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OzellikId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="OzellikId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="OzellikId" DataSetColumn="OzellikId" />
              <Mapping SourceColumn="BelgeDetayId" DataSetColumn="BelgeDetayId" />
              <Mapping SourceColumn="StokId" DataSetColumn="StokId" />
              <Mapping SourceColumn="Artikel" DataSetColumn="Artikel" />
              <Mapping SourceColumn="Boy" DataSetColumn="Boy" />
              <Mapping SourceColumn="Cins" DataSetColumn="Cins" />
              <Mapping SourceColumn="En" DataSetColumn="En" />
              <Mapping SourceColumn="Agirlik" DataSetColumn="Agirlik" />
              <Mapping SourceColumn="Kalinlik" DataSetColumn="Kalinlik" />
              <Mapping SourceColumn="Kompozisyon" DataSetColumn="Kompozisyon" />
              <Mapping SourceColumn="Kalite" DataSetColumn="Kalite" />
              <Mapping SourceColumn="KesimSekli" DataSetColumn="KesimSekli" />
              <Mapping SourceColumn="Marka" DataSetColumn="Marka" />
              <Mapping SourceColumn="Ölcü" DataSetColumn="Ölcü" />
              <Mapping SourceColumn="Renk" DataSetColumn="Renk" />
              <Mapping SourceColumn="Birim" DataSetColumn="Birim" />
              <Mapping SourceColumn="ModifiedOn" DataSetColumn="ModifiedOn" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DSstok" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DSstok" msprop:Generator_DataSetName="DSstok" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Vendor" msprop:Generator_UserTableName="Vendor" msprop:Generator_RowDeletedName="VendorRowDeleted" msprop:Generator_RowChangedName="VendorRowChanged" msprop:Generator_RowClassName="VendorRow" msprop:Generator_RowChangingName="VendorRowChanging" msprop:Generator_RowEvArgName="VendorRowChangeEvent" msprop:Generator_RowEvHandlerName="VendorRowChangeEventHandler" msprop:Generator_TableClassName="VendorDataTable" msprop:Generator_TableVarName="tableVendor" msprop:Generator_RowDeletingName="VendorRowDeleting" msprop:Generator_TablePropName="Vendor">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="VendorID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="VendorID" msprop:Generator_ColumnVarNameInTable="columnVendorID" msprop:Generator_ColumnPropNameInRow="VendorID" msprop:Generator_ColumnPropNameInTable="VendorIDColumn" type="xs:int" />
              <xs:element name="AccountNumber" msprop:Generator_UserColumnName="AccountNumber" msprop:Generator_ColumnVarNameInTable="columnAccountNumber" msprop:Generator_ColumnPropNameInRow="AccountNumber" msprop:Generator_ColumnPropNameInTable="AccountNumberColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CreditRating" msprop:Generator_UserColumnName="CreditRating" msprop:Generator_ColumnVarNameInTable="columnCreditRating" msprop:Generator_ColumnPropNameInRow="CreditRating" msprop:Generator_ColumnPropNameInTable="CreditRatingColumn" type="xs:unsignedByte" />
              <xs:element name="PreferredVendorStatus" msprop:Generator_UserColumnName="PreferredVendorStatus" msprop:Generator_ColumnVarNameInTable="columnPreferredVendorStatus" msprop:Generator_ColumnPropNameInRow="PreferredVendorStatus" msprop:Generator_ColumnPropNameInTable="PreferredVendorStatusColumn" type="xs:boolean" />
              <xs:element name="ActiveFlag" msprop:Generator_UserColumnName="ActiveFlag" msprop:Generator_ColumnVarNameInTable="columnActiveFlag" msprop:Generator_ColumnPropNameInRow="ActiveFlag" msprop:Generator_ColumnPropNameInTable="ActiveFlagColumn" type="xs:boolean" />
              <xs:element name="PurchasingWebServiceURL" msprop:Generator_UserColumnName="PurchasingWebServiceURL" msprop:Generator_ColumnVarNameInTable="columnPurchasingWebServiceURL" msprop:Generator_ColumnPropNameInRow="PurchasingWebServiceURL" msprop:Generator_ColumnPropNameInTable="PurchasingWebServiceURLColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1024" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" />
              <xs:element name="PreferredPaymentMethod" msprop:Generator_UserColumnName="PreferredPaymentMethod" msprop:Generator_ColumnVarNameInTable="columnPreferredPaymentMethod" msprop:Generator_ColumnPropNameInRow="PreferredPaymentMethod" msprop:Generator_ColumnPropNameInTable="PreferredPaymentMethodColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Employee" msprop:Generator_UserTableName="Employee" msprop:Generator_RowDeletedName="EmployeeRowDeleted" msprop:Generator_RowChangedName="EmployeeRowChanged" msprop:Generator_RowClassName="EmployeeRow" msprop:Generator_RowChangingName="EmployeeRowChanging" msprop:Generator_RowEvArgName="EmployeeRowChangeEvent" msprop:Generator_RowEvHandlerName="EmployeeRowChangeEventHandler" msprop:Generator_TableClassName="EmployeeDataTable" msprop:Generator_TableVarName="tableEmployee" msprop:Generator_RowDeletingName="EmployeeRowDeleting" msprop:Generator_TablePropName="Employee">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="EmployeeID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="EmployeeID" msprop:Generator_ColumnVarNameInTable="columnEmployeeID" msprop:Generator_ColumnPropNameInRow="EmployeeID" msprop:Generator_ColumnPropNameInTable="EmployeeIDColumn" type="xs:int" />
              <xs:element name="NationalIDNumber" msprop:Generator_UserColumnName="NationalIDNumber" msprop:Generator_ColumnVarNameInTable="columnNationalIDNumber" msprop:Generator_ColumnPropNameInRow="NationalIDNumber" msprop:Generator_ColumnPropNameInTable="NationalIDNumberColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactID" msprop:Generator_UserColumnName="ContactID" msprop:Generator_ColumnVarNameInTable="columnContactID" msprop:Generator_ColumnPropNameInRow="ContactID" msprop:Generator_ColumnPropNameInTable="ContactIDColumn" type="xs:int" />
              <xs:element name="LoginID" msprop:Generator_UserColumnName="LoginID" msprop:Generator_ColumnVarNameInTable="columnLoginID" msprop:Generator_ColumnPropNameInRow="LoginID" msprop:Generator_ColumnPropNameInTable="LoginIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="256" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ManagerID" msprop:Generator_UserColumnName="ManagerID" msprop:Generator_ColumnVarNameInTable="columnManagerID" msprop:Generator_ColumnPropNameInRow="ManagerID" msprop:Generator_ColumnPropNameInTable="ManagerIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="BirthDate" msprop:Generator_UserColumnName="BirthDate" msprop:Generator_ColumnVarNameInTable="columnBirthDate" msprop:Generator_ColumnPropNameInRow="BirthDate" msprop:Generator_ColumnPropNameInTable="BirthDateColumn" type="xs:dateTime" />
              <xs:element name="MaritalStatus" msprop:Generator_UserColumnName="MaritalStatus" msprop:Generator_ColumnVarNameInTable="columnMaritalStatus" msprop:Generator_ColumnPropNameInRow="MaritalStatus" msprop:Generator_ColumnPropNameInTable="MaritalStatusColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Gender" msprop:Generator_UserColumnName="Gender" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnPropNameInTable="GenderColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="HireDate" msprop:Generator_UserColumnName="HireDate" msprop:Generator_ColumnVarNameInTable="columnHireDate" msprop:Generator_ColumnPropNameInRow="HireDate" msprop:Generator_ColumnPropNameInTable="HireDateColumn" type="xs:dateTime" />
              <xs:element name="SalariedFlag" msprop:Generator_UserColumnName="SalariedFlag" msprop:Generator_ColumnVarNameInTable="columnSalariedFlag" msprop:Generator_ColumnPropNameInRow="SalariedFlag" msprop:Generator_ColumnPropNameInTable="SalariedFlagColumn" type="xs:boolean" />
              <xs:element name="VacationHours" msprop:Generator_UserColumnName="VacationHours" msprop:Generator_ColumnVarNameInTable="columnVacationHours" msprop:Generator_ColumnPropNameInRow="VacationHours" msprop:Generator_ColumnPropNameInTable="VacationHoursColumn" type="xs:short" />
              <xs:element name="SickLeaveHours" msprop:Generator_UserColumnName="SickLeaveHours" msprop:Generator_ColumnVarNameInTable="columnSickLeaveHours" msprop:Generator_ColumnPropNameInRow="SickLeaveHours" msprop:Generator_ColumnPropNameInTable="SickLeaveHoursColumn" type="xs:short" />
              <xs:element name="CurrentFlag" msprop:Generator_UserColumnName="CurrentFlag" msprop:Generator_ColumnVarNameInTable="columnCurrentFlag" msprop:Generator_ColumnPropNameInRow="CurrentFlag" msprop:Generator_ColumnPropNameInTable="CurrentFlagColumn" type="xs:boolean" />
              <xs:element name="rowguid" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="rowguid" msprop:Generator_ColumnVarNameInTable="columnrowguid" msprop:Generator_ColumnPropNameInRow="rowguid" msprop:Generator_ColumnPropNameInTable="rowguidColumn" type="xs:string" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" />
              <xs:element name="Yetki" msprop:Generator_UserColumnName="Yetki" msprop:Generator_ColumnVarNameInTable="columnYetki" msprop:Generator_ColumnPropNameInRow="Yetki" msprop:Generator_ColumnPropNameInTable="YetkiColumn" type="xs:long" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Customer" msprop:Generator_UserTableName="Customer" msprop:Generator_RowDeletedName="CustomerRowDeleted" msprop:Generator_RowChangedName="CustomerRowChanged" msprop:Generator_RowClassName="CustomerRow" msprop:Generator_RowChangingName="CustomerRowChanging" msprop:Generator_RowEvArgName="CustomerRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomerRowChangeEventHandler" msprop:Generator_TableClassName="CustomerDataTable" msprop:Generator_TableVarName="tableCustomer" msprop:Generator_RowDeletingName="CustomerRowDeleting" msprop:Generator_TablePropName="Customer">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CustomerID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CustomerID" msprop:Generator_ColumnVarNameInTable="columnCustomerID" msprop:Generator_ColumnPropNameInRow="CustomerID" msprop:Generator_ColumnPropNameInTable="CustomerIDColumn" type="xs:int" />
              <xs:element name="TerritoryID" msprop:Generator_UserColumnName="TerritoryID" msprop:Generator_ColumnVarNameInTable="columnTerritoryID" msprop:Generator_ColumnPropNameInRow="TerritoryID" msprop:Generator_ColumnPropNameInTable="TerritoryIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="AccountNumber" msdata:ReadOnly="true" msprop:Generator_UserColumnName="AccountNumber" msprop:Generator_ColumnVarNameInTable="columnAccountNumber" msprop:Generator_ColumnPropNameInRow="AccountNumber" msprop:Generator_ColumnPropNameInTable="AccountNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerType" msprop:Generator_UserColumnName="CustomerType" msprop:Generator_ColumnVarNameInTable="columnCustomerType" msprop:Generator_ColumnPropNameInRow="CustomerType" msprop:Generator_ColumnPropNameInTable="CustomerTypeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="rowguid" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="rowguid" msprop:Generator_ColumnVarNameInTable="columnrowguid" msprop:Generator_ColumnPropNameInRow="rowguid" msprop:Generator_ColumnPropNameInTable="rowguidColumn" type="xs:string" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" />
              <xs:element name="PreferredShipMethod" msprop:Generator_UserColumnName="PreferredShipMethod" msprop:Generator_ColumnVarNameInTable="columnPreferredShipMethod" msprop:Generator_ColumnPropNameInRow="PreferredShipMethod" msprop:Generator_ColumnPropNameInTable="PreferredShipMethodColumn" type="xs:int" minOccurs="0" />
              <xs:element name="PreferredPaymentMethod" msprop:Generator_UserColumnName="PreferredPaymentMethod" msprop:Generator_ColumnVarNameInTable="columnPreferredPaymentMethod" msprop:Generator_ColumnPropNameInRow="PreferredPaymentMethod" msprop:Generator_ColumnPropNameInTable="PreferredPaymentMethodColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Belge" msprop:Generator_UserTableName="Belge" msprop:Generator_RowDeletedName="BelgeRowDeleted" msprop:Generator_RowChangedName="BelgeRowChanged" msprop:Generator_RowClassName="BelgeRow" msprop:Generator_RowChangingName="BelgeRowChanging" msprop:Generator_RowEvArgName="BelgeRowChangeEvent" msprop:Generator_RowEvHandlerName="BelgeRowChangeEventHandler" msprop:Generator_TableClassName="BelgeDataTable" msprop:Generator_TableVarName="tableBelge" msprop:Generator_RowDeletingName="BelgeRowDeleting" msprop:Generator_TablePropName="Belge">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="BelgeId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="BelgeId" msprop:Generator_ColumnVarNameInTable="columnBelgeId" msprop:Generator_ColumnPropNameInRow="BelgeId" msprop:Generator_ColumnPropNameInTable="BelgeIdColumn" type="xs:int" />
              <xs:element name="Tarih" msprop:Generator_UserColumnName="Tarih" msprop:Generator_ColumnVarNameInTable="columnTarih" msprop:Generator_ColumnPropNameInRow="Tarih" msprop:Generator_ColumnPropNameInTable="TarihColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="BelgeTipiId" msprop:Generator_UserColumnName="BelgeTipiId" msprop:Generator_ColumnVarNameInTable="columnBelgeTipiId" msprop:Generator_ColumnPropNameInRow="BelgeTipiId" msprop:Generator_ColumnPropNameInTable="BelgeTipiIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="InvoiceDate" msprop:Generator_UserColumnName="InvoiceDate" msprop:Generator_ColumnVarNameInTable="columnInvoiceDate" msprop:Generator_ColumnPropNameInRow="InvoiceDate" msprop:Generator_ColumnPropNameInTable="InvoiceDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="InvoiceNr" msprop:Generator_UserColumnName="InvoiceNr" msprop:Generator_ColumnVarNameInTable="columnInvoiceNr" msprop:Generator_ColumnPropNameInRow="InvoiceNr" msprop:Generator_ColumnPropNameInTable="InvoiceNrColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IrsaliyeTarihi" msprop:Generator_UserColumnName="IrsaliyeTarihi" msprop:Generator_ColumnVarNameInTable="columnIrsaliyeTarihi" msprop:Generator_ColumnPropNameInRow="IrsaliyeTarihi" msprop:Generator_ColumnPropNameInTable="IrsaliyeTarihiColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="IrsaliyeNr" msprop:Generator_UserColumnName="IrsaliyeNr" msprop:Generator_ColumnVarNameInTable="columnIrsaliyeNr" msprop:Generator_ColumnPropNameInRow="IrsaliyeNr" msprop:Generator_ColumnPropNameInTable="IrsaliyeNrColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="VendorId" msprop:Generator_UserColumnName="VendorId" msprop:Generator_ColumnVarNameInTable="columnVendorId" msprop:Generator_ColumnPropNameInRow="VendorId" msprop:Generator_ColumnPropNameInTable="VendorIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="isClosed" msprop:Generator_UserColumnName="isClosed" msprop:Generator_ColumnVarNameInTable="columnisClosed" msprop:Generator_ColumnPropNameInRow="isClosed" msprop:Generator_ColumnPropNameInTable="isClosedColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="OwnerId" msprop:Generator_UserColumnName="OwnerId" msprop:Generator_ColumnVarNameInTable="columnOwnerId" msprop:Generator_ColumnPropNameInRow="OwnerId" msprop:Generator_ColumnPropNameInTable="OwnerIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="DovizCinsiId" msprop:Generator_UserColumnName="DovizCinsiId" msprop:Generator_ColumnVarNameInTable="columnDovizCinsiId" msprop:Generator_ColumnPropNameInRow="DovizCinsiId" msprop:Generator_ColumnPropNameInTable="DovizCinsiIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Kargo" msprop:Generator_UserColumnName="Kargo" msprop:Generator_ColumnVarNameInTable="columnKargo" msprop:Generator_ColumnPropNameInRow="Kargo" msprop:Generator_ColumnPropNameInTable="KargoColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="GenelToplam" msprop:Generator_UserColumnName="GenelToplam" msprop:Generator_ColumnVarNameInTable="columnGenelToplam" msprop:Generator_ColumnPropNameInRow="GenelToplam" msprop:Generator_ColumnPropNameInTable="GenelToplamColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="AlisSekliId" msprop:Generator_UserColumnName="AlisSekliId" msprop:Generator_ColumnVarNameInTable="columnAlisSekliId" msprop:Generator_ColumnPropNameInRow="AlisSekliId" msprop:Generator_ColumnPropNameInTable="AlisSekliIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="PaymentTermId" msprop:Generator_UserColumnName="PaymentTermId" msprop:Generator_ColumnVarNameInTable="columnPaymentTermId" msprop:Generator_ColumnPropNameInRow="PaymentTermId" msprop:Generator_ColumnPropNameInTable="PaymentTermIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="DeliveryTermId" msprop:Generator_UserColumnName="DeliveryTermId" msprop:Generator_ColumnVarNameInTable="columnDeliveryTermId" msprop:Generator_ColumnPropNameInRow="DeliveryTermId" msprop:Generator_ColumnPropNameInTable="DeliveryTermIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="CourierId" msprop:Generator_UserColumnName="CourierId" msprop:Generator_ColumnVarNameInTable="columnCourierId" msprop:Generator_ColumnPropNameInRow="CourierId" msprop:Generator_ColumnPropNameInTable="CourierIdColumn" type="xs:short" minOccurs="0" />
              <xs:element name="ExpensePercentageId" msprop:Generator_UserColumnName="ExpensePercentageId" msprop:Generator_ColumnVarNameInTable="columnExpensePercentageId" msprop:Generator_ColumnPropNameInRow="ExpensePercentageId" msprop:Generator_ColumnPropNameInTable="ExpensePercentageIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="ReferansNo" msprop:Generator_UserColumnName="ReferansNo" msprop:Generator_ColumnVarNameInTable="columnReferansNo" msprop:Generator_ColumnPropNameInRow="ReferansNo" msprop:Generator_ColumnPropNameInTable="ReferansNoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedOn" msprop:Generator_UserColumnName="ModifiedOn" msprop:Generator_ColumnVarNameInTable="columnModifiedOn" msprop:Generator_ColumnPropNameInRow="ModifiedOn" msprop:Generator_ColumnPropNameInTable="ModifiedOnColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:short" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="BelgeDetay" msprop:Generator_UserTableName="BelgeDetay" msprop:Generator_RowDeletedName="BelgeDetayRowDeleted" msprop:Generator_RowChangedName="BelgeDetayRowChanged" msprop:Generator_RowClassName="BelgeDetayRow" msprop:Generator_RowChangingName="BelgeDetayRowChanging" msprop:Generator_RowEvArgName="BelgeDetayRowChangeEvent" msprop:Generator_RowEvHandlerName="BelgeDetayRowChangeEventHandler" msprop:Generator_TableClassName="BelgeDetayDataTable" msprop:Generator_TableVarName="tableBelgeDetay" msprop:Generator_RowDeletingName="BelgeDetayRowDeleting" msprop:Generator_TablePropName="BelgeDetay" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="BelgeDetayId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="BelgeDetayId" msprop:Generator_ColumnVarNameInTable="columnBelgeDetayId" msprop:Generator_ColumnPropNameInRow="BelgeDetayId" msprop:Generator_ColumnPropNameInTable="BelgeDetayIdColumn" type="xs:int" />
                    <xs:element name="BelgeId" msprop:Generator_UserColumnName="BelgeId" msprop:Generator_ColumnVarNameInTable="columnBelgeId" msprop:Generator_ColumnPropNameInRow="BelgeId" msprop:Generator_ColumnPropNameInTable="BelgeIdColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="StokId" msprop:Generator_UserColumnName="StokId" msprop:Generator_ColumnVarNameInTable="columnStokId" msprop:Generator_ColumnPropNameInRow="StokId" msprop:Generator_ColumnPropNameInTable="StokIdColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="PurchaseOrderId" msprop:Generator_UserColumnName="PurchaseOrderId" msprop:Generator_ColumnVarNameInTable="columnPurchaseOrderId" msprop:Generator_ColumnPropNameInRow="PurchaseOrderId" msprop:Generator_ColumnPropNameInTable="PurchaseOrderIdColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="TotalQty" msprop:Generator_UserColumnName="TotalQty" msprop:Generator_ColumnVarNameInTable="columnTotalQty" msprop:Generator_ColumnPropNameInRow="TotalQty" msprop:Generator_ColumnPropNameInTable="TotalQtyColumn" type="xs:double" minOccurs="0" />
                    <xs:element name="LineTotal" msprop:Generator_UserColumnName="LineTotal" msprop:Generator_ColumnVarNameInTable="columnLineTotal" msprop:Generator_ColumnPropNameInRow="LineTotal" msprop:Generator_ColumnPropNameInTable="LineTotalColumn" type="xs:decimal" minOccurs="0" />
                    <xs:element name="Image" msprop:Generator_UserColumnName="Image" msprop:Generator_ColumnVarNameInTable="columnImage" msprop:Generator_ColumnPropNameInRow="Image" msprop:Generator_ColumnPropNameInTable="ImageColumn" type="xs:base64Binary" minOccurs="0" />
                    <xs:element name="SatinalmaOKi" msprop:Generator_UserColumnName="SatinalmaOKi" msprop:Generator_ColumnVarNameInTable="columnSatinalmaOKi" msprop:Generator_ColumnPropNameInRow="SatinalmaOKi" msprop:Generator_ColumnPropNameInTable="SatinalmaOKiColumn" type="xs:boolean" minOccurs="0" />
                    <xs:element name="isClosed" msprop:Generator_UserColumnName="isClosed" msprop:Generator_ColumnVarNameInTable="columnisClosed" msprop:Generator_ColumnPropNameInRow="isClosed" msprop:Generator_ColumnPropNameInTable="isClosedColumn" type="xs:boolean" minOccurs="0" />
                    <xs:element name="ModifiedOn" msprop:Generator_UserColumnName="ModifiedOn" msprop:Generator_ColumnVarNameInTable="columnModifiedOn" msprop:Generator_ColumnPropNameInRow="ModifiedOn" msprop:Generator_ColumnPropNameInTable="ModifiedOnColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:short" minOccurs="0" />
                    <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
                    <xs:element name="LineTotalCOMPUTED" msdata:ReadOnly="true" msdata:Expression="Sum(Child(FK_Top_BelgeDetay).TotalPrice)" msprop:Generator_UserColumnName="LineTotalCOMPUTED" msprop:Generator_ColumnVarNameInTable="columnLineTotalCOMPUTED" msprop:Generator_ColumnPropNameInRow="LineTotalCOMPUTED" msprop:Generator_ColumnPropNameInTable="LineTotalCOMPUTEDColumn" type="xs:string" minOccurs="0" />
                    <xs:element name="LineTotal2" msdata:ReadOnly="true" msdata:Expression="Sum(Child(FK_Top_BelgeDetay).TotalPrice)" msprop:Generator_UserColumnName="LineTotal2" msprop:Generator_ColumnVarNameInTable="columnLineTotal2" msprop:Generator_ColumnPropNameInRow="LineTotal2" msprop:Generator_ColumnPropNameInTable="LineTotal2Column" type="xs:string" minOccurs="0" />
                    <xs:element name="Ozellik" msprop:Generator_UserTableName="Ozellik" msprop:Generator_RowDeletedName="OzellikRowDeleted" msprop:Generator_RowChangedName="OzellikRowChanged" msprop:Generator_RowClassName="OzellikRow" msprop:Generator_RowChangingName="OzellikRowChanging" msprop:Generator_RowEvArgName="OzellikRowChangeEvent" msprop:Generator_RowEvHandlerName="OzellikRowChangeEventHandler" msprop:Generator_TableClassName="OzellikDataTable" msprop:Generator_TableVarName="tableOzellik" msprop:Generator_RowDeletingName="OzellikRowDeleting" msprop:Generator_TablePropName="Ozellik" minOccurs="0" maxOccurs="unbounded">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="OzellikId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="OzellikId" msprop:Generator_ColumnPropNameInRow="OzellikId" msprop:Generator_ColumnVarNameInTable="columnOzellikId" msprop:Generator_ColumnPropNameInTable="OzellikIdColumn" type="xs:int" />
                          <xs:element name="BelgeDetayId" msprop:Generator_UserColumnName="BelgeDetayId" msprop:Generator_ColumnPropNameInRow="BelgeDetayId" msprop:Generator_ColumnVarNameInTable="columnBelgeDetayId" msprop:Generator_ColumnPropNameInTable="BelgeDetayIdColumn" type="xs:int" minOccurs="0" />
                          <xs:element name="StokId" msprop:Generator_UserColumnName="StokId" msprop:Generator_ColumnPropNameInRow="StokId" msprop:Generator_ColumnVarNameInTable="columnStokId" msprop:Generator_ColumnPropNameInTable="StokIdColumn" type="xs:int" minOccurs="0" />
                          <xs:element name="Artikel" msprop:Generator_UserColumnName="Artikel" msprop:Generator_ColumnPropNameInRow="Artikel" msprop:Generator_ColumnVarNameInTable="columnArtikel" msprop:Generator_ColumnPropNameInTable="ArtikelColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Boy" msprop:Generator_UserColumnName="Boy" msprop:Generator_ColumnPropNameInRow="Boy" msprop:Generator_ColumnVarNameInTable="columnBoy" msprop:Generator_ColumnPropNameInTable="BoyColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Cins" msprop:Generator_UserColumnName="Cins" msprop:Generator_ColumnPropNameInRow="Cins" msprop:Generator_ColumnVarNameInTable="columnCins" msprop:Generator_ColumnPropNameInTable="CinsColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="En" msprop:Generator_UserColumnName="En" msprop:Generator_ColumnPropNameInRow="En" msprop:Generator_ColumnVarNameInTable="columnEn" msprop:Generator_ColumnPropNameInTable="EnColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Agirlik" msprop:Generator_UserColumnName="Agirlik" msprop:Generator_ColumnPropNameInRow="Agirlik" msprop:Generator_ColumnVarNameInTable="columnAgirlik" msprop:Generator_ColumnPropNameInTable="AgirlikColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Kalinlik" msprop:Generator_UserColumnName="Kalinlik" msprop:Generator_ColumnPropNameInRow="Kalinlik" msprop:Generator_ColumnVarNameInTable="columnKalinlik" msprop:Generator_ColumnPropNameInTable="KalinlikColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Kompozisyon" msprop:Generator_UserColumnName="Kompozisyon" msprop:Generator_ColumnPropNameInRow="Kompozisyon" msprop:Generator_ColumnVarNameInTable="columnKompozisyon" msprop:Generator_ColumnPropNameInTable="KompozisyonColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Kalite" msprop:Generator_UserColumnName="Kalite" msprop:Generator_ColumnPropNameInRow="Kalite" msprop:Generator_ColumnVarNameInTable="columnKalite" msprop:Generator_ColumnPropNameInTable="KaliteColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="KesimSekli" msprop:Generator_UserColumnName="KesimSekli" msprop:Generator_ColumnPropNameInRow="KesimSekli" msprop:Generator_ColumnVarNameInTable="columnKesimSekli" msprop:Generator_ColumnPropNameInTable="KesimSekliColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Marka" msprop:Generator_UserColumnName="Marka" msprop:Generator_ColumnPropNameInRow="Marka" msprop:Generator_ColumnVarNameInTable="columnMarka" msprop:Generator_ColumnPropNameInTable="MarkaColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Ölcü" msprop:Generator_UserColumnName="Ölcü" msprop:Generator_ColumnPropNameInRow="Ölcü" msprop:Generator_ColumnVarNameInTable="columnÖlcü" msprop:Generator_ColumnPropNameInTable="ÖlcüColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Renk" msprop:Generator_UserColumnName="Renk" msprop:Generator_ColumnPropNameInRow="Renk" msprop:Generator_ColumnVarNameInTable="columnRenk" msprop:Generator_ColumnPropNameInTable="RenkColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Birim" msprop:Generator_UserColumnName="Birim" msprop:Generator_ColumnPropNameInRow="Birim" msprop:Generator_ColumnVarNameInTable="columnBirim" msprop:Generator_ColumnPropNameInTable="BirimColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="64" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="ModifiedOn" msprop:Generator_UserColumnName="ModifiedOn" msprop:Generator_ColumnPropNameInRow="ModifiedOn" msprop:Generator_ColumnVarNameInTable="columnModifiedOn" msprop:Generator_ColumnPropNameInTable="ModifiedOnColumn" type="xs:dateTime" minOccurs="0" />
                          <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:short" minOccurs="0" />
                          <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                    <xs:element name="Roll" msprop:Generator_UserTableName="Roll" msprop:Generator_RowDeletedName="RollRowDeleted" msprop:Generator_RowChangedName="RollRowChanged" msprop:Generator_RowClassName="RollRow" msprop:Generator_RowChangingName="RollRowChanging" msprop:Generator_RowEvArgName="RollRowChangeEvent" msprop:Generator_RowEvHandlerName="RollRowChangeEventHandler" msprop:Generator_TableClassName="RollDataTable" msprop:Generator_TableVarName="tableRoll" msprop:Generator_RowDeletingName="RollRowDeleting" msprop:Generator_TablePropName="Roll" minOccurs="0" maxOccurs="unbounded">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="TopId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="TopId" msprop:Generator_ColumnVarNameInTable="columnTopId" msprop:Generator_ColumnPropNameInRow="TopId" msprop:Generator_ColumnPropNameInTable="TopIdColumn" type="xs:int" />
                          <xs:element name="BelgeDetayId" msprop:Generator_UserColumnName="BelgeDetayId" msprop:Generator_ColumnVarNameInTable="columnBelgeDetayId" msprop:Generator_ColumnPropNameInRow="BelgeDetayId" msprop:Generator_ColumnPropNameInTable="BelgeDetayIdColumn" type="xs:int" minOccurs="0" />
                          <xs:element name="Color" msprop:Generator_UserColumnName="Color" msprop:Generator_ColumnVarNameInTable="columnColor" msprop:Generator_ColumnPropNameInRow="Color" msprop:Generator_ColumnPropNameInTable="ColorColumn" minOccurs="0">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="50" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="En" msprop:Generator_UserColumnName="En" msprop:Generator_ColumnVarNameInTable="columnEn" msprop:Generator_ColumnPropNameInRow="En" msprop:Generator_ColumnPropNameInTable="EnColumn" type="xs:double" minOccurs="0" />
                          <xs:element name="InitialQty" msprop:Generator_UserColumnName="InitialQty" msprop:Generator_ColumnVarNameInTable="columnInitialQty" msprop:Generator_ColumnPropNameInRow="InitialQty" msprop:Generator_ColumnPropNameInTable="InitialQtyColumn" type="xs:double" minOccurs="0" />
                          <xs:element name="UnitPrice" msprop:Generator_UserColumnName="UnitPrice" msprop:Generator_ColumnVarNameInTable="columnUnitPrice" msprop:Generator_ColumnPropNameInRow="UnitPrice" msprop:Generator_ColumnPropNameInTable="UnitPriceColumn" type="xs:decimal" minOccurs="0" />
                          <xs:element name="DovizCinsiId" msprop:Generator_UserColumnName="DovizCinsiId" msprop:Generator_ColumnVarNameInTable="columnDovizCinsiId" msprop:Generator_ColumnPropNameInRow="DovizCinsiId" msprop:Generator_ColumnPropNameInTable="DovizCinsiIdColumn" type="xs:unsignedByte" minOccurs="0" />
                          <xs:element name="isExpired" msprop:Generator_UserColumnName="isExpired" msprop:Generator_ColumnVarNameInTable="columnisExpired" msprop:Generator_ColumnPropNameInRow="isExpired" msprop:Generator_ColumnPropNameInTable="isExpiredColumn" type="xs:boolean" minOccurs="0" />
                          <xs:element name="ModifiedOn" msprop:Generator_UserColumnName="ModifiedOn" msprop:Generator_ColumnVarNameInTable="columnModifiedOn" msprop:Generator_ColumnPropNameInRow="ModifiedOn" msprop:Generator_ColumnPropNameInTable="ModifiedOnColumn" type="xs:dateTime" minOccurs="0" />
                          <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:short" minOccurs="0" />
                          <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
                          <xs:element name="TotalPrice" msdata:ReadOnly="true" msdata:Expression="InitialQty*UnitPrice" msprop:Generator_UserColumnName="TotalPrice" msprop:Generator_ColumnVarNameInTable="columnTotalPrice" msprop:Generator_ColumnPropNameInRow="TotalPrice" msprop:Generator_ColumnPropNameInTable="TotalPriceColumn" type="xs:decimal" minOccurs="0" />
                          <xs:element name="Inventory" msprop:Generator_UserTableName="Inventory" msprop:Generator_RowDeletedName="InventoryRowDeleted" msprop:Generator_RowChangedName="InventoryRowChanged" msprop:Generator_RowClassName="InventoryRow" msprop:Generator_RowChangingName="InventoryRowChanging" msprop:Generator_RowEvArgName="InventoryRowChangeEvent" msprop:Generator_RowEvHandlerName="InventoryRowChangeEventHandler" msprop:Generator_TableClassName="InventoryDataTable" msprop:Generator_TableVarName="tableInventory" msprop:Generator_RowDeletingName="InventoryRowDeleting" msprop:Generator_TablePropName="Inventory" minOccurs="0" maxOccurs="unbounded">
                            <xs:complexType>
                              <xs:sequence>
                                <xs:element name="InventoryId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="InventoryId" msprop:Generator_ColumnVarNameInTable="columnInventoryId" msprop:Generator_ColumnPropNameInRow="InventoryId" msprop:Generator_ColumnPropNameInTable="InventoryIdColumn" type="xs:int" />
                                <xs:element name="TopId" msprop:Generator_UserColumnName="TopId" msprop:Generator_ColumnVarNameInTable="columnTopId" msprop:Generator_ColumnPropNameInRow="TopId" msprop:Generator_ColumnPropNameInTable="TopIdColumn" type="xs:int" minOccurs="0" />
                                <xs:element name="StokId" msprop:Generator_UserColumnName="StokId" msprop:Generator_ColumnVarNameInTable="columnStokId" msprop:Generator_ColumnPropNameInRow="StokId" msprop:Generator_ColumnPropNameInTable="StokIdColumn" type="xs:int" minOccurs="0" />
                                <xs:element name="HareketDetayId" msprop:Generator_UserColumnName="HareketDetayId" msprop:Generator_ColumnVarNameInTable="columnHareketDetayId" msprop:Generator_ColumnPropNameInRow="HareketDetayId" msprop:Generator_ColumnPropNameInTable="HareketDetayIdColumn" type="xs:int" minOccurs="0" />
                                <xs:element name="DepoId" msprop:Generator_UserColumnName="DepoId" msprop:Generator_ColumnVarNameInTable="columnDepoId" msprop:Generator_ColumnPropNameInRow="DepoId" msprop:Generator_ColumnPropNameInTable="DepoIdColumn" type="xs:int" minOccurs="0" />
                                <xs:element name="RafId" msprop:Generator_UserColumnName="RafId" msprop:Generator_ColumnVarNameInTable="columnRafId" msprop:Generator_ColumnPropNameInRow="RafId" msprop:Generator_ColumnPropNameInTable="RafIdColumn" type="xs:short" minOccurs="0" />
                                <xs:element name="Balance" msprop:Generator_UserColumnName="Balance" msprop:Generator_ColumnVarNameInTable="columnBalance" msprop:Generator_ColumnPropNameInRow="Balance" msprop:Generator_ColumnPropNameInTable="BalanceColumn" type="xs:double" minOccurs="0" />
                                <xs:element name="ModifiedOn" msprop:Generator_UserColumnName="ModifiedOn" msprop:Generator_ColumnVarNameInTable="columnModifiedOn" msprop:Generator_ColumnPropNameInRow="ModifiedOn" msprop:Generator_ColumnPropNameInTable="ModifiedOnColumn" type="xs:dateTime" minOccurs="0" />
                                <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:short" minOccurs="0" />
                                <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
                              </xs:sequence>
                            </xs:complexType>
                          </xs:element>
                          <xs:element name="HareketDetayTop" msprop:Generator_UserTableName="HareketDetayTop" msprop:Generator_RowDeletedName="HareketDetayTopRowDeleted" msprop:Generator_RowChangedName="HareketDetayTopRowChanged" msprop:Generator_RowClassName="HareketDetayTopRow" msprop:Generator_RowChangingName="HareketDetayTopRowChanging" msprop:Generator_RowEvArgName="HareketDetayTopRowChangeEvent" msprop:Generator_RowEvHandlerName="HareketDetayTopRowChangeEventHandler" msprop:Generator_TableClassName="HareketDetayTopDataTable" msprop:Generator_TableVarName="tableHareketDetayTop" msprop:Generator_RowDeletingName="HareketDetayTopRowDeleting" msprop:Generator_TablePropName="HareketDetayTop" minOccurs="0" maxOccurs="unbounded">
                            <xs:complexType>
                              <xs:sequence>
                                <xs:element name="HareketDetayId" msprop:Generator_UserColumnName="HareketDetayId" msprop:Generator_ColumnVarNameInTable="columnHareketDetayId" msprop:Generator_ColumnPropNameInRow="HareketDetayId" msprop:Generator_ColumnPropNameInTable="HareketDetayIdColumn" type="xs:int" />
                                <xs:element name="TopId" msprop:Generator_UserColumnName="TopId" msprop:Generator_ColumnVarNameInTable="columnTopId" msprop:Generator_ColumnPropNameInRow="TopId" msprop:Generator_ColumnPropNameInTable="TopIdColumn" type="xs:int" />
                                <xs:element name="StokId" msprop:Generator_UserColumnName="StokId" msprop:Generator_ColumnVarNameInTable="columnStokId" msprop:Generator_ColumnPropNameInRow="StokId" msprop:Generator_ColumnPropNameInTable="StokIdColumn" type="xs:int" minOccurs="0" />
                                <xs:element name="DepoId" msprop:Generator_UserColumnName="DepoId" msprop:Generator_ColumnVarNameInTable="columnDepoId" msprop:Generator_ColumnPropNameInRow="DepoId" msprop:Generator_ColumnPropNameInTable="DepoIdColumn" type="xs:int" minOccurs="0" />
                                <xs:element name="RafId" msprop:Generator_UserColumnName="RafId" msprop:Generator_ColumnVarNameInTable="columnRafId" msprop:Generator_ColumnPropNameInRow="RafId" msprop:Generator_ColumnPropNameInTable="RafIdColumn" type="xs:short" minOccurs="0" />
                                <xs:element name="QtyTransferred" msprop:Generator_UserColumnName="QtyTransferred" msprop:Generator_ColumnVarNameInTable="columnQtyTransferred" msprop:Generator_ColumnPropNameInRow="QtyTransferred" msprop:Generator_ColumnPropNameInTable="QtyTransferredColumn" type="xs:double" minOccurs="0" />
                                <xs:element name="ModifiedOn" msprop:Generator_UserColumnName="ModifiedOn" msprop:Generator_ColumnVarNameInTable="columnModifiedOn" msprop:Generator_ColumnPropNameInRow="ModifiedOn" msprop:Generator_ColumnPropNameInTable="ModifiedOnColumn" type="xs:dateTime" minOccurs="0" />
                                <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:short" minOccurs="0" />
                                <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
                              </xs:sequence>
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Hareket" msprop:Generator_UserTableName="Hareket" msprop:Generator_RowDeletedName="HareketRowDeleted" msprop:Generator_RowChangedName="HareketRowChanged" msprop:Generator_RowClassName="HareketRow" msprop:Generator_RowChangingName="HareketRowChanging" msprop:Generator_RowEvArgName="HareketRowChangeEvent" msprop:Generator_RowEvHandlerName="HareketRowChangeEventHandler" msprop:Generator_TableClassName="HareketDataTable" msprop:Generator_TableVarName="tableHareket" msprop:Generator_RowDeletingName="HareketRowDeleting" msprop:Generator_TablePropName="Hareket">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="HareketId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="HareketId" msprop:Generator_ColumnVarNameInTable="columnHareketId" msprop:Generator_ColumnPropNameInRow="HareketId" msprop:Generator_ColumnPropNameInTable="HareketIdColumn" type="xs:int" />
              <xs:element name="HareketTipiId" msprop:Generator_UserColumnName="HareketTipiId" msprop:Generator_ColumnVarNameInTable="columnHareketTipiId" msprop:Generator_ColumnPropNameInRow="HareketTipiId" msprop:Generator_ColumnPropNameInTable="HareketTipiIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="BelgeId" msprop:Generator_UserColumnName="BelgeId" msprop:Generator_ColumnVarNameInTable="columnBelgeId" msprop:Generator_ColumnPropNameInRow="BelgeId" msprop:Generator_ColumnPropNameInTable="BelgeIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="OlayId" msprop:Generator_UserColumnName="OlayId" msprop:Generator_ColumnVarNameInTable="columnOlayId" msprop:Generator_ColumnPropNameInRow="OlayId" msprop:Generator_ColumnPropNameInTable="OlayIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="SalesOrderId" msprop:Generator_UserColumnName="SalesOrderId" msprop:Generator_ColumnVarNameInTable="columnSalesOrderId" msprop:Generator_ColumnPropNameInRow="SalesOrderId" msprop:Generator_ColumnPropNameInTable="SalesOrderIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="GeneralNotes" msprop:Generator_UserColumnName="GeneralNotes" msprop:Generator_ColumnVarNameInTable="columnGeneralNotes" msprop:Generator_ColumnPropNameInRow="GeneralNotes" msprop:Generator_ColumnPropNameInTable="GeneralNotesColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedOn" msprop:Generator_UserColumnName="ModifiedOn" msprop:Generator_ColumnVarNameInTable="columnModifiedOn" msprop:Generator_ColumnPropNameInRow="ModifiedOn" msprop:Generator_ColumnPropNameInTable="ModifiedOnColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:short" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="HareketDetay" msprop:Generator_UserTableName="HareketDetay" msprop:Generator_RowDeletedName="HareketDetayRowDeleted" msprop:Generator_RowChangedName="HareketDetayRowChanged" msprop:Generator_RowClassName="HareketDetayRow" msprop:Generator_RowChangingName="HareketDetayRowChanging" msprop:Generator_RowEvArgName="HareketDetayRowChangeEvent" msprop:Generator_RowEvHandlerName="HareketDetayRowChangeEventHandler" msprop:Generator_TableClassName="HareketDetayDataTable" msprop:Generator_TableVarName="tableHareketDetay" msprop:Generator_RowDeletingName="HareketDetayRowDeleting" msprop:Generator_TablePropName="HareketDetay" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="HareketDetayId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="HareketDetayId" msprop:Generator_ColumnVarNameInTable="columnHareketDetayId" msprop:Generator_ColumnPropNameInRow="HareketDetayId" msprop:Generator_ColumnPropNameInTable="HareketDetayIdColumn" type="xs:int" />
                    <xs:element name="HareketId" msprop:Generator_UserColumnName="HareketId" msprop:Generator_ColumnVarNameInTable="columnHareketId" msprop:Generator_ColumnPropNameInRow="HareketId" msprop:Generator_ColumnPropNameInTable="HareketIdColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="BelgeDetayId" msprop:Generator_UserColumnName="BelgeDetayId" msprop:Generator_ColumnVarNameInTable="columnBelgeDetayId" msprop:Generator_ColumnPropNameInRow="BelgeDetayId" msprop:Generator_ColumnPropNameInTable="BelgeDetayIdColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="StokId" msprop:Generator_UserColumnName="StokId" msprop:Generator_ColumnVarNameInTable="columnStokId" msprop:Generator_ColumnPropNameInRow="StokId" msprop:Generator_ColumnPropNameInTable="StokIdColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="Notes" msprop:Generator_UserColumnName="Notes" msprop:Generator_ColumnVarNameInTable="columnNotes" msprop:Generator_ColumnPropNameInRow="Notes" msprop:Generator_ColumnPropNameInTable="NotesColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="500" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="DepoOKi" msprop:Generator_UserColumnName="DepoOKi" msprop:Generator_ColumnVarNameInTable="columnDepoOKi" msprop:Generator_ColumnPropNameInRow="DepoOKi" msprop:Generator_ColumnPropNameInTable="DepoOKiColumn" type="xs:boolean" minOccurs="0" />
                    <xs:element name="HareketTarihi" msprop:Generator_UserColumnName="HareketTarihi" msprop:Generator_ColumnVarNameInTable="columnHareketTarihi" msprop:Generator_ColumnPropNameInRow="HareketTarihi" msprop:Generator_ColumnPropNameInTable="HareketTarihiColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="EmployeeId" msprop:Generator_UserColumnName="EmployeeId" msprop:Generator_ColumnVarNameInTable="columnEmployeeId" msprop:Generator_ColumnPropNameInRow="EmployeeId" msprop:Generator_ColumnPropNameInTable="EmployeeIdColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="CustomerArticle" msprop:Generator_UserColumnName="CustomerArticle" msprop:Generator_ColumnVarNameInTable="columnCustomerArticle" msprop:Generator_ColumnPropNameInRow="CustomerArticle" msprop:Generator_ColumnPropNameInTable="CustomerArticleColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="50" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="CustomerCode" msprop:Generator_UserColumnName="CustomerCode" msprop:Generator_ColumnVarNameInTable="columnCustomerCode" msprop:Generator_ColumnPropNameInRow="CustomerCode" msprop:Generator_ColumnPropNameInTable="CustomerCodeColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="50" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="CustomerColor" msprop:Generator_UserColumnName="CustomerColor" msprop:Generator_ColumnVarNameInTable="columnCustomerColor" msprop:Generator_ColumnPropNameInRow="CustomerColor" msprop:Generator_ColumnPropNameInTable="CustomerColorColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="50" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="CancelDate" msprop:Generator_UserColumnName="CancelDate" msprop:Generator_ColumnVarNameInTable="columnCancelDate" msprop:Generator_ColumnPropNameInRow="CancelDate" msprop:Generator_ColumnPropNameInTable="CancelDateColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="ModifiedOn" msprop:Generator_UserColumnName="ModifiedOn" msprop:Generator_ColumnVarNameInTable="columnModifiedOn" msprop:Generator_ColumnPropNameInRow="ModifiedOn" msprop:Generator_ColumnPropNameInTable="ModifiedOnColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:short" minOccurs="0" />
                    <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="HareketDetayStok" msprop:Generator_UserTableName="HareketDetayStok" msprop:Generator_RowDeletedName="HareketDetayStokRowDeleted" msprop:Generator_RowChangedName="HareketDetayStokRowChanged" msprop:Generator_RowClassName="HareketDetayStokRow" msprop:Generator_RowChangingName="HareketDetayStokRowChanging" msprop:Generator_RowEvArgName="HareketDetayStokRowChangeEvent" msprop:Generator_RowEvHandlerName="HareketDetayStokRowChangeEventHandler" msprop:Generator_TableClassName="HareketDetayStokDataTable" msprop:Generator_TableVarName="tableHareketDetayStok" msprop:Generator_RowDeletingName="HareketDetayStokRowDeleting" msprop:Generator_TablePropName="HareketDetayStok">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="HareketDetayId" msprop:Generator_UserColumnName="HareketDetayId" msprop:Generator_ColumnVarNameInTable="columnHareketDetayId" msprop:Generator_ColumnPropNameInRow="HareketDetayId" msprop:Generator_ColumnPropNameInTable="HareketDetayIdColumn" type="xs:int" />
              <xs:element name="StokId" msprop:Generator_UserColumnName="StokId" msprop:Generator_ColumnVarNameInTable="columnStokId" msprop:Generator_ColumnPropNameInRow="StokId" msprop:Generator_ColumnPropNameInTable="StokIdColumn" type="xs:int" />
              <xs:element name="DepoId" msprop:Generator_UserColumnName="DepoId" msprop:Generator_ColumnVarNameInTable="columnDepoId" msprop:Generator_ColumnPropNameInRow="DepoId" msprop:Generator_ColumnPropNameInTable="DepoIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="RafId" msprop:Generator_UserColumnName="RafId" msprop:Generator_ColumnVarNameInTable="columnRafId" msprop:Generator_ColumnPropNameInRow="RafId" msprop:Generator_ColumnPropNameInTable="RafIdColumn" type="xs:short" minOccurs="0" />
              <xs:element name="QtyTransferred" msprop:Generator_UserColumnName="QtyTransferred" msprop:Generator_ColumnVarNameInTable="columnQtyTransferred" msprop:Generator_ColumnPropNameInRow="QtyTransferred" msprop:Generator_ColumnPropNameInTable="QtyTransferredColumn" type="xs:double" minOccurs="0" />
              <xs:element name="NewBalance" msprop:Generator_UserColumnName="NewBalance" msprop:Generator_ColumnVarNameInTable="columnNewBalance" msprop:Generator_ColumnPropNameInRow="NewBalance" msprop:Generator_ColumnPropNameInTable="NewBalanceColumn" type="xs:double" minOccurs="0" />
              <xs:element name="ModifiedOn" msprop:Generator_UserColumnName="ModifiedOn" msprop:Generator_ColumnVarNameInTable="columnModifiedOn" msprop:Generator_ColumnPropNameInRow="ModifiedOn" msprop:Generator_ColumnPropNameInTable="ModifiedOnColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:short" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SanalRezerve" msprop:Generator_UserTableName="SanalRezerve" msprop:Generator_RowDeletedName="SanalRezerveRowDeleted" msprop:Generator_RowChangedName="SanalRezerveRowChanged" msprop:Generator_RowClassName="SanalRezerveRow" msprop:Generator_RowChangingName="SanalRezerveRowChanging" msprop:Generator_RowEvArgName="SanalRezerveRowChangeEvent" msprop:Generator_RowEvHandlerName="SanalRezerveRowChangeEventHandler" msprop:Generator_TableClassName="SanalRezerveDataTable" msprop:Generator_TableVarName="tableSanalRezerve" msprop:Generator_RowDeletingName="SanalRezerveRowDeleting" msprop:Generator_TablePropName="SanalRezerve">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SanalRezerveId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="SanalRezerveId" msprop:Generator_ColumnVarNameInTable="columnSanalRezerveId" msprop:Generator_ColumnPropNameInRow="SanalRezerveId" msprop:Generator_ColumnPropNameInTable="SanalRezerveIdColumn" type="xs:int" />
              <xs:element name="HareketDetayId" msprop:Generator_UserColumnName="HareketDetayId" msprop:Generator_ColumnVarNameInTable="columnHareketDetayId" msprop:Generator_ColumnPropNameInRow="HareketDetayId" msprop:Generator_ColumnPropNameInTable="HareketDetayIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="ValidUntil" msprop:Generator_UserColumnName="ValidUntil" msprop:Generator_ColumnVarNameInTable="columnValidUntil" msprop:Generator_ColumnPropNameInRow="ValidUntil" msprop:Generator_ColumnPropNameInTable="ValidUntilColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedOn" msprop:Generator_UserColumnName="ModifiedOn" msprop:Generator_ColumnVarNameInTable="columnModifiedOn" msprop:Generator_ColumnPropNameInRow="ModifiedOn" msprop:Generator_ColumnPropNameInTable="ModifiedOnColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:short" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Stok" msprop:Generator_UserTableName="Stok" msprop:Generator_RowDeletedName="StokRowDeleted" msprop:Generator_RowChangedName="StokRowChanged" msprop:Generator_RowClassName="StokRow" msprop:Generator_RowChangingName="StokRowChanging" msprop:Generator_RowEvArgName="StokRowChangeEvent" msprop:Generator_RowEvHandlerName="StokRowChangeEventHandler" msprop:Generator_TableClassName="StokDataTable" msprop:Generator_TableVarName="tableStok" msprop:Generator_RowDeletingName="StokRowDeleting" msprop:Generator_TablePropName="Stok">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="StokId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="StokId" msprop:Generator_ColumnVarNameInTable="columnStokId" msprop:Generator_ColumnPropNameInRow="StokId" msprop:Generator_ColumnPropNameInTable="StokIdColumn" type="xs:int" />
              <xs:element name="StokkoduTipiId" msprop:Generator_UserColumnName="StokkoduTipiId" msprop:Generator_ColumnVarNameInTable="columnStokkoduTipiId" msprop:Generator_ColumnPropNameInRow="StokkoduTipiId" msprop:Generator_ColumnPropNameInTable="StokkoduTipiIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="StokArticle" msprop:Generator_UserColumnName="StokArticle" msprop:Generator_ColumnVarNameInTable="columnStokArticle" msprop:Generator_ColumnPropNameInRow="StokArticle" msprop:Generator_ColumnPropNameInTable="StokArticleColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StokCode" msprop:Generator_UserColumnName="StokCode" msprop:Generator_ColumnVarNameInTable="columnStokCode" msprop:Generator_ColumnPropNameInRow="StokCode" msprop:Generator_ColumnPropNameInTable="StokCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StokAdi" msprop:Generator_UserColumnName="StokAdi" msprop:Generator_ColumnVarNameInTable="columnStokAdi" msprop:Generator_ColumnPropNameInRow="StokAdi" msprop:Generator_ColumnPropNameInTable="StokAdiColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StokTipiId" msprop:Generator_UserColumnName="StokTipiId" msprop:Generator_ColumnVarNameInTable="columnStokTipiId" msprop:Generator_ColumnPropNameInRow="StokTipiId" msprop:Generator_ColumnPropNameInTable="StokTipiIdColumn" type="xs:short" minOccurs="0" />
              <xs:element name="GenelStokKalemi" msprop:Generator_UserColumnName="GenelStokKalemi" msprop:Generator_ColumnVarNameInTable="columnGenelStokKalemi" msprop:Generator_ColumnPropNameInRow="GenelStokKalemi" msprop:Generator_ColumnPropNameInTable="GenelStokKalemiColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="MinStockQty" msprop:Generator_UserColumnName="MinStockQty" msprop:Generator_ColumnVarNameInTable="columnMinStockQty" msprop:Generator_ColumnPropNameInRow="MinStockQty" msprop:Generator_ColumnPropNameInTable="MinStockQtyColumn" type="xs:int" minOccurs="0" />
              <xs:element name="FAO" msprop:Generator_UserColumnName="FAO" msprop:Generator_ColumnVarNameInTable="columnFAO" msprop:Generator_ColumnPropNameInRow="FAO" msprop:Generator_ColumnPropNameInTable="FAOColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Notes" msprop:Generator_UserColumnName="Notes" msprop:Generator_ColumnVarNameInTable="columnNotes" msprop:Generator_ColumnPropNameInRow="Notes" msprop:Generator_ColumnPropNameInTable="NotesColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="500" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedOn" msprop:Generator_UserColumnName="ModifiedOn" msprop:Generator_ColumnVarNameInTable="columnModifiedOn" msprop:Generator_ColumnPropNameInRow="ModifiedOn" msprop:Generator_ColumnPropNameInTable="ModifiedOnColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:short" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ToplarınDağılımı" msprop:Generator_UserTableName="ToplarınDağılımı" msprop:Generator_RowDeletedName="ToplarınDağılımıRowDeleted" msprop:Generator_RowChangedName="ToplarınDağılımıRowChanged" msprop:Generator_RowClassName="ToplarınDağılımıRow" msprop:Generator_RowChangingName="ToplarınDağılımıRowChanging" msprop:Generator_RowEvArgName="ToplarınDağılımıRowChangeEvent" msprop:Generator_RowEvHandlerName="ToplarınDağılımıRowChangeEventHandler" msprop:Generator_TableClassName="ToplarınDağılımıDataTable" msprop:Generator_TableVarName="tableToplarınDağılımı" msprop:Generator_RowDeletingName="ToplarınDağılımıRowDeleting" msprop:Generator_TablePropName="ToplarınDağılımı">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TopId" msprop:Generator_UserColumnName="TopId" msprop:Generator_ColumnPropNameInRow="TopId" msprop:Generator_ColumnVarNameInTable="columnTopId" msprop:Generator_ColumnPropNameInTable="TopIdColumn" type="xs:int" />
              <xs:element name="Color" msprop:Generator_UserColumnName="Color" msprop:Generator_ColumnPropNameInRow="Color" msprop:Generator_ColumnVarNameInTable="columnColor" msprop:Generator_ColumnPropNameInTable="ColorColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="En" msprop:Generator_UserColumnName="En" msprop:Generator_ColumnPropNameInRow="En" msprop:Generator_ColumnVarNameInTable="columnEn" msprop:Generator_ColumnPropNameInTable="EnColumn" type="xs:double" minOccurs="0" />
              <xs:element name="InitialQty" msprop:Generator_UserColumnName="InitialQty" msprop:Generator_ColumnPropNameInRow="InitialQty" msprop:Generator_ColumnVarNameInTable="columnInitialQty" msprop:Generator_ColumnPropNameInTable="InitialQtyColumn" type="xs:double" minOccurs="0" />
              <xs:element name="UnitPrice" msprop:Generator_UserColumnName="UnitPrice" msprop:Generator_ColumnPropNameInRow="UnitPrice" msprop:Generator_ColumnVarNameInTable="columnUnitPrice" msprop:Generator_ColumnPropNameInTable="UnitPriceColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="InventoryId" msprop:Generator_UserColumnName="InventoryId" msprop:Generator_ColumnPropNameInRow="InventoryId" msprop:Generator_ColumnVarNameInTable="columnInventoryId" msprop:Generator_ColumnPropNameInTable="InventoryIdColumn" type="xs:int" />
              <xs:element name="DepoId" msprop:Generator_UserColumnName="DepoId" msprop:Generator_ColumnPropNameInRow="DepoId" msprop:Generator_ColumnVarNameInTable="columnDepoId" msprop:Generator_ColumnPropNameInTable="DepoIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="RafId" msprop:Generator_UserColumnName="RafId" msprop:Generator_ColumnPropNameInRow="RafId" msprop:Generator_ColumnVarNameInTable="columnRafId" msprop:Generator_ColumnPropNameInTable="RafIdColumn" type="xs:short" minOccurs="0" />
              <xs:element name="Balance" msprop:Generator_UserColumnName="Balance" msprop:Generator_ColumnPropNameInRow="Balance" msprop:Generator_ColumnVarNameInTable="columnBalance" msprop:Generator_ColumnPropNameInTable="BalanceColumn" type="xs:double" minOccurs="0" />
              <xs:element name="StokId" msprop:Generator_UserColumnName="StokId" msprop:Generator_ColumnPropNameInRow="StokId" msprop:Generator_ColumnVarNameInTable="columnStokId" msprop:Generator_ColumnPropNameInTable="StokIdColumn" type="xs:int" />
              <xs:element name="StokkoduTipiId" msprop:Generator_UserColumnName="StokkoduTipiId" msprop:Generator_ColumnPropNameInRow="StokkoduTipiId" msprop:Generator_ColumnVarNameInTable="columnStokkoduTipiId" msprop:Generator_ColumnPropNameInTable="StokkoduTipiIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="StokArticle" msprop:Generator_UserColumnName="StokArticle" msprop:Generator_ColumnPropNameInRow="StokArticle" msprop:Generator_ColumnVarNameInTable="columnStokArticle" msprop:Generator_ColumnPropNameInTable="StokArticleColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StokTipiId" msprop:Generator_UserColumnName="StokTipiId" msprop:Generator_ColumnPropNameInRow="StokTipiId" msprop:Generator_ColumnVarNameInTable="columnStokTipiId" msprop:Generator_ColumnPropNameInTable="StokTipiIdColumn" type="xs:short" minOccurs="0" />
              <xs:element name="GenelStokKalemi" msprop:Generator_UserColumnName="GenelStokKalemi" msprop:Generator_ColumnPropNameInRow="GenelStokKalemi" msprop:Generator_ColumnVarNameInTable="columnGenelStokKalemi" msprop:Generator_ColumnPropNameInTable="GenelStokKalemiColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesOrderHeader" msprop:Generator_UserTableName="SalesOrderHeader" msprop:Generator_RowDeletedName="SalesOrderHeaderRowDeleted" msprop:Generator_RowChangedName="SalesOrderHeaderRowChanged" msprop:Generator_RowClassName="SalesOrderHeaderRow" msprop:Generator_RowChangingName="SalesOrderHeaderRowChanging" msprop:Generator_RowEvArgName="SalesOrderHeaderRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesOrderHeaderRowChangeEventHandler" msprop:Generator_TableClassName="SalesOrderHeaderDataTable" msprop:Generator_TableVarName="tableSalesOrderHeader" msprop:Generator_RowDeletingName="SalesOrderHeaderRowDeleting" msprop:Generator_TablePropName="SalesOrderHeader">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesOrderID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="SalesOrderID" msprop:Generator_ColumnVarNameInTable="columnSalesOrderID" msprop:Generator_ColumnPropNameInRow="SalesOrderID" msprop:Generator_ColumnPropNameInTable="SalesOrderIDColumn" type="xs:int" />
              <xs:element name="RevisionNumber" msprop:Generator_UserColumnName="RevisionNumber" msprop:Generator_ColumnVarNameInTable="columnRevisionNumber" msprop:Generator_ColumnPropNameInRow="RevisionNumber" msprop:Generator_ColumnPropNameInTable="RevisionNumberColumn" type="xs:unsignedByte" />
              <xs:element name="OrderDate" msprop:Generator_UserColumnName="OrderDate" msprop:Generator_ColumnVarNameInTable="columnOrderDate" msprop:Generator_ColumnPropNameInRow="OrderDate" msprop:Generator_ColumnPropNameInTable="OrderDateColumn" type="xs:dateTime" />
              <xs:element name="DueDate" msprop:Generator_UserColumnName="DueDate" msprop:Generator_ColumnVarNameInTable="columnDueDate" msprop:Generator_ColumnPropNameInRow="DueDate" msprop:Generator_ColumnPropNameInTable="DueDateColumn" type="xs:dateTime" />
              <xs:element name="ShipDate" msprop:Generator_UserColumnName="ShipDate" msprop:Generator_ColumnVarNameInTable="columnShipDate" msprop:Generator_ColumnPropNameInRow="ShipDate" msprop:Generator_ColumnPropNameInTable="ShipDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:unsignedByte" />
              <xs:element name="OnlineOrderFlag" msprop:Generator_UserColumnName="OnlineOrderFlag" msprop:Generator_ColumnVarNameInTable="columnOnlineOrderFlag" msprop:Generator_ColumnPropNameInRow="OnlineOrderFlag" msprop:Generator_ColumnPropNameInTable="OnlineOrderFlagColumn" type="xs:boolean" />
              <xs:element name="SalesOrderNumber" msdata:ReadOnly="true" msprop:Generator_UserColumnName="SalesOrderNumber" msprop:Generator_ColumnVarNameInTable="columnSalesOrderNumber" msprop:Generator_ColumnPropNameInRow="SalesOrderNumber" msprop:Generator_ColumnPropNameInTable="SalesOrderNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PurchaseOrderNumber" msprop:Generator_UserColumnName="PurchaseOrderNumber" msprop:Generator_ColumnVarNameInTable="columnPurchaseOrderNumber" msprop:Generator_ColumnPropNameInRow="PurchaseOrderNumber" msprop:Generator_ColumnPropNameInTable="PurchaseOrderNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AccountNumber" msprop:Generator_UserColumnName="AccountNumber" msprop:Generator_ColumnVarNameInTable="columnAccountNumber" msprop:Generator_ColumnPropNameInRow="AccountNumber" msprop:Generator_ColumnPropNameInTable="AccountNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerID" msprop:Generator_UserColumnName="CustomerID" msprop:Generator_ColumnVarNameInTable="columnCustomerID" msprop:Generator_ColumnPropNameInRow="CustomerID" msprop:Generator_ColumnPropNameInTable="CustomerIDColumn" type="xs:int" />
              <xs:element name="ContactID" msprop:Generator_UserColumnName="ContactID" msprop:Generator_ColumnVarNameInTable="columnContactID" msprop:Generator_ColumnPropNameInRow="ContactID" msprop:Generator_ColumnPropNameInTable="ContactIDColumn" type="xs:int" />
              <xs:element name="SalesPersonID" msprop:Generator_UserColumnName="SalesPersonID" msprop:Generator_ColumnVarNameInTable="columnSalesPersonID" msprop:Generator_ColumnPropNameInRow="SalesPersonID" msprop:Generator_ColumnPropNameInTable="SalesPersonIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TerritoryID" msprop:Generator_UserColumnName="TerritoryID" msprop:Generator_ColumnVarNameInTable="columnTerritoryID" msprop:Generator_ColumnPropNameInRow="TerritoryID" msprop:Generator_ColumnPropNameInTable="TerritoryIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="BillToAddressID" msprop:Generator_UserColumnName="BillToAddressID" msprop:Generator_ColumnVarNameInTable="columnBillToAddressID" msprop:Generator_ColumnPropNameInRow="BillToAddressID" msprop:Generator_ColumnPropNameInTable="BillToAddressIDColumn" type="xs:int" />
              <xs:element name="ShipToAddressID" msprop:Generator_UserColumnName="ShipToAddressID" msprop:Generator_ColumnVarNameInTable="columnShipToAddressID" msprop:Generator_ColumnPropNameInRow="ShipToAddressID" msprop:Generator_ColumnPropNameInTable="ShipToAddressIDColumn" type="xs:int" />
              <xs:element name="ShipMethodID" msprop:Generator_UserColumnName="ShipMethodID" msprop:Generator_ColumnVarNameInTable="columnShipMethodID" msprop:Generator_ColumnPropNameInRow="ShipMethodID" msprop:Generator_ColumnPropNameInTable="ShipMethodIDColumn" type="xs:int" />
              <xs:element name="CreditCardID" msprop:Generator_UserColumnName="CreditCardID" msprop:Generator_ColumnVarNameInTable="columnCreditCardID" msprop:Generator_ColumnPropNameInRow="CreditCardID" msprop:Generator_ColumnPropNameInTable="CreditCardIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="CreditCardApprovalCode" msprop:Generator_UserColumnName="CreditCardApprovalCode" msprop:Generator_ColumnVarNameInTable="columnCreditCardApprovalCode" msprop:Generator_ColumnPropNameInRow="CreditCardApprovalCode" msprop:Generator_ColumnPropNameInTable="CreditCardApprovalCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CurrencyRateID" msprop:Generator_UserColumnName="CurrencyRateID" msprop:Generator_ColumnVarNameInTable="columnCurrencyRateID" msprop:Generator_ColumnPropNameInRow="CurrencyRateID" msprop:Generator_ColumnPropNameInTable="CurrencyRateIDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="SubTotal" msprop:Generator_UserColumnName="SubTotal" msprop:Generator_ColumnVarNameInTable="columnSubTotal" msprop:Generator_ColumnPropNameInRow="SubTotal" msprop:Generator_ColumnPropNameInTable="SubTotalColumn" type="xs:decimal" />
              <xs:element name="TaxAmt" msprop:Generator_UserColumnName="TaxAmt" msprop:Generator_ColumnVarNameInTable="columnTaxAmt" msprop:Generator_ColumnPropNameInRow="TaxAmt" msprop:Generator_ColumnPropNameInTable="TaxAmtColumn" type="xs:decimal" />
              <xs:element name="Freight" msprop:Generator_UserColumnName="Freight" msprop:Generator_ColumnVarNameInTable="columnFreight" msprop:Generator_ColumnPropNameInRow="Freight" msprop:Generator_ColumnPropNameInTable="FreightColumn" type="xs:decimal" />
              <xs:element name="TotalDue" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TotalDue" msprop:Generator_ColumnVarNameInTable="columnTotalDue" msprop:Generator_ColumnPropNameInRow="TotalDue" msprop:Generator_ColumnPropNameInTable="TotalDueColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="Comment" msprop:Generator_UserColumnName="Comment" msprop:Generator_ColumnVarNameInTable="columnComment" msprop:Generator_ColumnPropNameInRow="Comment" msprop:Generator_ColumnPropNameInTable="CommentColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="128" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="rowguid" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="rowguid" msprop:Generator_ColumnVarNameInTable="columnrowguid" msprop:Generator_ColumnPropNameInRow="rowguid" msprop:Generator_ColumnPropNameInTable="rowguidColumn" type="xs:string" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesOrderDetail" msprop:Generator_UserTableName="SalesOrderDetail" msprop:Generator_RowDeletedName="SalesOrderDetailRowDeleted" msprop:Generator_RowChangedName="SalesOrderDetailRowChanged" msprop:Generator_RowClassName="SalesOrderDetailRow" msprop:Generator_RowChangingName="SalesOrderDetailRowChanging" msprop:Generator_RowEvArgName="SalesOrderDetailRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesOrderDetailRowChangeEventHandler" msprop:Generator_TableClassName="SalesOrderDetailDataTable" msprop:Generator_TableVarName="tableSalesOrderDetail" msprop:Generator_RowDeletingName="SalesOrderDetailRowDeleting" msprop:Generator_TablePropName="SalesOrderDetail">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesOrderID" msprop:Generator_UserColumnName="SalesOrderID" msprop:Generator_ColumnVarNameInTable="columnSalesOrderID" msprop:Generator_ColumnPropNameInRow="SalesOrderID" msprop:Generator_ColumnPropNameInTable="SalesOrderIDColumn" type="xs:int" />
              <xs:element name="SalesOrderDetailID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="SalesOrderDetailID" msprop:Generator_ColumnVarNameInTable="columnSalesOrderDetailID" msprop:Generator_ColumnPropNameInRow="SalesOrderDetailID" msprop:Generator_ColumnPropNameInTable="SalesOrderDetailIDColumn" type="xs:int" />
              <xs:element name="CarrierTrackingNumber" msprop:Generator_UserColumnName="CarrierTrackingNumber" msprop:Generator_ColumnVarNameInTable="columnCarrierTrackingNumber" msprop:Generator_ColumnPropNameInRow="CarrierTrackingNumber" msprop:Generator_ColumnPropNameInTable="CarrierTrackingNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="OrderQty" msprop:Generator_UserColumnName="OrderQty" msprop:Generator_ColumnVarNameInTable="columnOrderQty" msprop:Generator_ColumnPropNameInRow="OrderQty" msprop:Generator_ColumnPropNameInTable="OrderQtyColumn" type="xs:short" />
              <xs:element name="ProductID" msprop:Generator_UserColumnName="ProductID" msprop:Generator_ColumnVarNameInTable="columnProductID" msprop:Generator_ColumnPropNameInRow="ProductID" msprop:Generator_ColumnPropNameInTable="ProductIDColumn" type="xs:int" />
              <xs:element name="SpecialOfferID" msprop:Generator_UserColumnName="SpecialOfferID" msprop:Generator_ColumnVarNameInTable="columnSpecialOfferID" msprop:Generator_ColumnPropNameInRow="SpecialOfferID" msprop:Generator_ColumnPropNameInTable="SpecialOfferIDColumn" type="xs:int" />
              <xs:element name="UnitPrice" msprop:Generator_UserColumnName="UnitPrice" msprop:Generator_ColumnVarNameInTable="columnUnitPrice" msprop:Generator_ColumnPropNameInRow="UnitPrice" msprop:Generator_ColumnPropNameInTable="UnitPriceColumn" type="xs:decimal" />
              <xs:element name="UnitPriceDiscount" msprop:Generator_UserColumnName="UnitPriceDiscount" msprop:Generator_ColumnVarNameInTable="columnUnitPriceDiscount" msprop:Generator_ColumnPropNameInRow="UnitPriceDiscount" msprop:Generator_ColumnPropNameInTable="UnitPriceDiscountColumn" type="xs:decimal" />
              <xs:element name="LineTotal" msdata:ReadOnly="true" msprop:Generator_UserColumnName="LineTotal" msprop:Generator_ColumnVarNameInTable="columnLineTotal" msprop:Generator_ColumnPropNameInRow="LineTotal" msprop:Generator_ColumnPropNameInTable="LineTotalColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="rowguid" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="rowguid" msprop:Generator_ColumnVarNameInTable="columnrowguid" msprop:Generator_ColumnPropNameInRow="rowguid" msprop:Generator_ColumnPropNameInTable="rowguidColumn" type="xs:string" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Vendor" />
      <xs:field xpath="mstns:VendorID" />
    </xs:unique>
    <xs:unique name="Employee_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Employee" />
      <xs:field xpath="mstns:EmployeeID" />
    </xs:unique>
    <xs:unique name="Customer_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Customer" />
      <xs:field xpath="mstns:CustomerID" />
    </xs:unique>
    <xs:unique name="Ozellik_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Ozellik" />
      <xs:field xpath="mstns:OzellikId" />
    </xs:unique>
    <xs:unique name="Inventory_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Inventory" />
      <xs:field xpath="mstns:InventoryId" />
    </xs:unique>
    <xs:unique name="HareketDetayTop_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:HareketDetayTop" />
      <xs:field xpath="mstns:HareketDetayId" />
      <xs:field xpath="mstns:TopId" />
    </xs:unique>
    <xs:unique name="Roll_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Roll" />
      <xs:field xpath="mstns:TopId" />
    </xs:unique>
    <xs:unique name="BelgeDetay_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BelgeDetay" />
      <xs:field xpath="mstns:BelgeDetayId" />
    </xs:unique>
    <xs:unique name="Belge_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Belge" />
      <xs:field xpath="mstns:BelgeId" />
    </xs:unique>
    <xs:unique name="HareketDetay_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:HareketDetay" />
      <xs:field xpath="mstns:HareketDetayId" />
    </xs:unique>
    <xs:unique name="Hareket_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Hareket" />
      <xs:field xpath="mstns:HareketId" />
    </xs:unique>
    <xs:unique name="HareketDetayStok_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:HareketDetayStok" />
      <xs:field xpath="mstns:HareketDetayId" />
      <xs:field xpath="mstns:StokId" />
    </xs:unique>
    <xs:unique name="SanalRezerve_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SanalRezerve" />
      <xs:field xpath="mstns:SanalRezerveId" />
    </xs:unique>
    <xs:unique name="Stok_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Stok" />
      <xs:field xpath="mstns:StokId" />
    </xs:unique>
    <xs:unique name="ToplarınDağılımı_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ToplarınDağılımı" />
      <xs:field xpath="mstns:TopId" />
      <xs:field xpath="mstns:InventoryId" />
      <xs:field xpath="mstns:StokId" />
    </xs:unique>
    <xs:unique name="SalesOrderHeader_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesOrderHeader" />
      <xs:field xpath="mstns:SalesOrderID" />
    </xs:unique>
    <xs:unique name="SalesOrderDetail_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesOrderDetail" />
      <xs:field xpath="mstns:SalesOrderID" />
      <xs:field xpath="mstns:SalesOrderDetailID" />
    </xs:unique>
    <xs:keyref name="FK_HareketDetay_Hareket" refer="Hareket_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_HareketDetay_Hareket" msprop:rel_Generator_RelationVarName="relationFK_HareketDetay_Hareket" msprop:rel_Generator_UserChildTable="HareketDetay" msprop:rel_Generator_UserParentTable="Hareket" msprop:rel_Generator_ParentPropName="HareketRow" msprop:rel_Generator_ChildPropName="GetHareketDetayRows">
      <xs:selector xpath=".//mstns:HareketDetay" />
      <xs:field xpath="mstns:HareketId" />
    </xs:keyref>
    <xs:keyref name="FK_BelgeDetay_Belge" refer="Belge_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_BelgeDetay_Belge" msprop:rel_Generator_RelationVarName="relationFK_BelgeDetay_Belge" msprop:rel_Generator_UserChildTable="BelgeDetay" msprop:rel_Generator_UserParentTable="Belge" msprop:rel_Generator_ParentPropName="BelgeRow" msprop:rel_Generator_ChildPropName="GetBelgeDetayRows">
      <xs:selector xpath=".//mstns:BelgeDetay" />
      <xs:field xpath="mstns:BelgeId" />
    </xs:keyref>
    <xs:keyref name="FK_Top_BelgeDetay" refer="BelgeDetay_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_Top_BelgeDetay" msprop:rel_Generator_RelationVarName="relationFK_Top_BelgeDetay" msprop:rel_Generator_UserChildTable="Roll" msprop:rel_Generator_UserParentTable="BelgeDetay" msprop:rel_Generator_ParentPropName="BelgeDetayRow" msprop:rel_Generator_ChildPropName="GetRollRows">
      <xs:selector xpath=".//mstns:Roll" />
      <xs:field xpath="mstns:BelgeDetayId" />
    </xs:keyref>
    <xs:keyref name="FK_HareketDetayTop_Top" refer="Roll_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_HareketDetayTop_Top" msprop:rel_Generator_RelationVarName="relationFK_HareketDetayTop_Top" msprop:rel_Generator_UserChildTable="HareketDetayTop" msprop:rel_Generator_UserParentTable="Roll" msprop:rel_Generator_ParentPropName="RollRow" msprop:rel_Generator_ChildPropName="GetHareketDetayTopRows">
      <xs:selector xpath=".//mstns:HareketDetayTop" />
      <xs:field xpath="mstns:TopId" />
    </xs:keyref>
    <xs:keyref name="FK_Inventory_Top" refer="Roll_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_Inventory_Top" msprop:rel_Generator_RelationVarName="relationFK_Inventory_Top" msprop:rel_Generator_UserChildTable="Inventory" msprop:rel_Generator_UserParentTable="Roll" msprop:rel_Generator_ParentPropName="RollRow" msprop:rel_Generator_ChildPropName="GetInventoryRows">
      <xs:selector xpath=".//mstns:Inventory" />
      <xs:field xpath="mstns:TopId" />
    </xs:keyref>
    <xs:keyref name="FK_Ozellik_Stok" refer="Stok_Constraint1" msprop:rel_Generator_UserRelationName="FK_Ozellik_Stok" msprop:rel_Generator_RelationVarName="relationFK_Ozellik_Stok" msprop:rel_Generator_UserChildTable="Ozellik" msprop:rel_Generator_UserParentTable="Stok" msprop:rel_Generator_ParentPropName="StokRow" msprop:rel_Generator_ChildPropName="GetOzellikRows">
      <xs:selector xpath=".//mstns:Ozellik" />
      <xs:field xpath="mstns:StokId" />
    </xs:keyref>
    <xs:keyref name="FK_Ozellik_BelgeDetay" refer="BelgeDetay_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_Ozellik_BelgeDetay" msprop:rel_Generator_RelationVarName="relationFK_Ozellik_BelgeDetay" msprop:rel_Generator_UserChildTable="Ozellik" msprop:rel_Generator_UserParentTable="BelgeDetay" msprop:rel_Generator_ParentPropName="BelgeDetayRow" msprop:rel_Generator_ChildPropName="GetOzellikRows">
      <xs:selector xpath=".//mstns:Ozellik" />
      <xs:field xpath="mstns:BelgeDetayId" />
    </xs:keyref>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_Employee_Employee_ManagerID" msdata:parent="Employee" msdata:child="Employee" msdata:parentkey="EmployeeID" msdata:childkey="ManagerID" msprop:Generator_UserRelationName="FK_Employee_Employee_ManagerID" msprop:Generator_RelationVarName="relationFK_Employee_Employee_ManagerID" msprop:Generator_UserChildTable="Employee" msprop:Generator_UserParentTable="Employee" msprop:Generator_ParentPropName="EmployeeRowParent" msprop:Generator_ChildPropName="GetEmployeeRows" />
      <msdata:Relationship name="FK_BelgeDetay_Stok" msdata:parent="Stok" msdata:child="BelgeDetay" msdata:parentkey="StokId" msdata:childkey="StokId" msprop:Generator_UserRelationName="FK_BelgeDetay_Stok" msprop:Generator_RelationVarName="relationFK_BelgeDetay_Stok" msprop:Generator_UserChildTable="BelgeDetay" msprop:Generator_UserParentTable="Stok" msprop:Generator_ParentPropName="StokRow" msprop:Generator_ChildPropName="GetBelgeDetayRows" />
      <msdata:Relationship name="FK_Hareket_Belge" msdata:parent="Belge" msdata:child="Hareket" msdata:parentkey="BelgeId" msdata:childkey="BelgeId" msprop:Generator_UserRelationName="FK_Hareket_Belge" msprop:Generator_RelationVarName="relationFK_Hareket_Belge" msprop:Generator_UserChildTable="Hareket" msprop:Generator_UserParentTable="Belge" msprop:Generator_ParentPropName="BelgeRow" msprop:Generator_ChildPropName="GetHareketRows" />
      <msdata:Relationship name="FK_HareketDetay_BelgeDetay" msdata:parent="BelgeDetay" msdata:child="HareketDetay" msdata:parentkey="BelgeDetayId" msdata:childkey="BelgeDetayId" msprop:Generator_UserRelationName="FK_HareketDetay_BelgeDetay" msprop:Generator_RelationVarName="relationFK_HareketDetay_BelgeDetay" msprop:Generator_UserChildTable="HareketDetay" msprop:Generator_UserParentTable="BelgeDetay" msprop:Generator_ParentPropName="BelgeDetayRow" msprop:Generator_ChildPropName="GetHareketDetayRows" />
      <msdata:Relationship name="FK_HareketDetay_Stok" msdata:parent="Stok" msdata:child="HareketDetay" msdata:parentkey="StokId" msdata:childkey="StokId" msprop:Generator_UserRelationName="FK_HareketDetay_Stok" msprop:Generator_RelationVarName="relationFK_HareketDetay_Stok" msprop:Generator_UserChildTable="HareketDetay" msprop:Generator_UserParentTable="Stok" msprop:Generator_ParentPropName="StokRow" msprop:Generator_ChildPropName="GetHareketDetayRows" />
      <msdata:Relationship name="FK_HareketDetayStok_HareketDetay" msdata:parent="HareketDetay" msdata:child="HareketDetayStok" msdata:parentkey="HareketDetayId" msdata:childkey="HareketDetayId" msprop:Generator_UserRelationName="FK_HareketDetayStok_HareketDetay" msprop:Generator_RelationVarName="relationFK_HareketDetayStok_HareketDetay" msprop:Generator_UserChildTable="HareketDetayStok" msprop:Generator_UserParentTable="HareketDetay" msprop:Generator_ParentPropName="HareketDetayRow" msprop:Generator_ChildPropName="GetHareketDetayStokRows" />
      <msdata:Relationship name="FK_HareketDetayStok_Stok" msdata:parent="Stok" msdata:child="HareketDetayStok" msdata:parentkey="StokId" msdata:childkey="StokId" msprop:Generator_UserRelationName="FK_HareketDetayStok_Stok" msprop:Generator_RelationVarName="relationFK_HareketDetayStok_Stok" msprop:Generator_UserChildTable="HareketDetayStok" msprop:Generator_UserParentTable="Stok" msprop:Generator_ParentPropName="StokRow" msprop:Generator_ChildPropName="GetHareketDetayStokRows" />
      <msdata:Relationship name="FK_HareketDetayTop_HareketDetay" msdata:parent="HareketDetay" msdata:child="HareketDetayTop" msdata:parentkey="HareketDetayId" msdata:childkey="HareketDetayId" msprop:Generator_UserRelationName="FK_HareketDetayTop_HareketDetay" msprop:Generator_RelationVarName="relationFK_HareketDetayTop_HareketDetay" msprop:Generator_UserChildTable="HareketDetayTop" msprop:Generator_UserParentTable="HareketDetay" msprop:Generator_ParentPropName="HareketDetayRow" msprop:Generator_ChildPropName="GetHareketDetayTopRows" />
      <msdata:Relationship name="FK_HareketDetayTop_Stok" msdata:parent="Stok" msdata:child="HareketDetayTop" msdata:parentkey="StokId" msdata:childkey="StokId" msprop:Generator_UserRelationName="FK_HareketDetayTop_Stok" msprop:Generator_RelationVarName="relationFK_HareketDetayTop_Stok" msprop:Generator_UserChildTable="HareketDetayTop" msprop:Generator_UserParentTable="Stok" msprop:Generator_ParentPropName="StokRow" msprop:Generator_ChildPropName="GetHareketDetayTopRows" />
      <msdata:Relationship name="FK_Inventory_HareketDetay" msdata:parent="HareketDetay" msdata:child="Inventory" msdata:parentkey="HareketDetayId" msdata:childkey="HareketDetayId" msprop:Generator_UserRelationName="FK_Inventory_HareketDetay" msprop:Generator_RelationVarName="relationFK_Inventory_HareketDetay" msprop:Generator_UserChildTable="Inventory" msprop:Generator_UserParentTable="HareketDetay" msprop:Generator_ParentPropName="HareketDetayRow" msprop:Generator_ChildPropName="GetInventoryRows" />
      <msdata:Relationship name="FK_Inventory_Stok" msdata:parent="Stok" msdata:child="Inventory" msdata:parentkey="StokId" msdata:childkey="StokId" msprop:Generator_UserRelationName="FK_Inventory_Stok" msprop:Generator_RelationVarName="relationFK_Inventory_Stok" msprop:Generator_UserChildTable="Inventory" msprop:Generator_UserParentTable="Stok" msprop:Generator_ParentPropName="StokRow" msprop:Generator_ChildPropName="GetInventoryRows" />
      <msdata:Relationship name="FK_SanalRezerve_HareketDetay" msdata:parent="HareketDetay" msdata:child="SanalRezerve" msdata:parentkey="HareketDetayId" msdata:childkey="HareketDetayId" msprop:Generator_UserRelationName="FK_SanalRezerve_HareketDetay" msprop:Generator_RelationVarName="relationFK_SanalRezerve_HareketDetay" msprop:Generator_UserChildTable="SanalRezerve" msprop:Generator_UserParentTable="HareketDetay" msprop:Generator_ParentPropName="HareketDetayRow" msprop:Generator_ChildPropName="GetSanalRezerveRows" />
      <msdata:Relationship name="FK_Inventory_Customer" msdata:parent="Customer" msdata:child="Inventory" msdata:parentkey="CustomerID" msdata:childkey="DepoId" msprop:Generator_UserRelationName="FK_Inventory_Customer" msprop:Generator_RelationVarName="relationFK_Inventory_Customer" msprop:Generator_UserChildTable="Inventory" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetInventoryRows" />
      <msdata:Relationship name="FK_Belge_Customer" msdata:parent="Customer" msdata:child="Belge" msdata:parentkey="CustomerID" msdata:childkey="OwnerId" msprop:Generator_UserRelationName="FK_Belge_Customer" msprop:Generator_RelationVarName="relationFK_Belge_Customer" msprop:Generator_UserChildTable="Belge" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetBelgeRows" />
      <msdata:Relationship name="FK_Belge_Vendor" msdata:parent="Vendor" msdata:child="Belge" msdata:parentkey="VendorID" msdata:childkey="VendorId" msprop:Generator_UserRelationName="FK_Belge_Vendor" msprop:Generator_RelationVarName="relationFK_Belge_Vendor" msprop:Generator_UserChildTable="Belge" msprop:Generator_UserParentTable="Vendor" msprop:Generator_ParentPropName="VendorRow" msprop:Generator_ChildPropName="GetBelgeRows" />
      <msdata:Relationship name="FK_HareketDetayTop_Customer" msdata:parent="Customer" msdata:child="HareketDetayTop" msdata:parentkey="CustomerID" msdata:childkey="DepoId" msprop:Generator_UserRelationName="FK_HareketDetayTop_Customer" msprop:Generator_RelationVarName="relationFK_HareketDetayTop_Customer" msprop:Generator_UserChildTable="HareketDetayTop" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetHareketDetayTopRows" />
      <msdata:Relationship name="FK_HareketDetayStok_Customer" msdata:parent="Customer" msdata:child="HareketDetayStok" msdata:parentkey="CustomerID" msdata:childkey="DepoId" msprop:Generator_UserRelationName="FK_HareketDetayStok_Customer" msprop:Generator_RelationVarName="relationFK_HareketDetayStok_Customer" msprop:Generator_UserChildTable="HareketDetayStok" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetHareketDetayStokRows" />
      <msdata:Relationship name="FK_HareketDetay_Customer" msdata:parent="Customer" msdata:child="HareketDetay" msdata:parentkey="CustomerID" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_HareketDetay_Customer" msprop:Generator_RelationVarName="relationFK_HareketDetay_Customer" msprop:Generator_UserChildTable="HareketDetay" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetHareketDetayRows" />
      <msdata:Relationship name="FK_HareketDetay_Employee" msdata:parent="Employee" msdata:child="HareketDetay" msdata:parentkey="EmployeeID" msdata:childkey="EmployeeId" msprop:Generator_UserRelationName="FK_HareketDetay_Employee" msprop:Generator_RelationVarName="relationFK_HareketDetay_Employee" msprop:Generator_UserChildTable="HareketDetay" msprop:Generator_UserParentTable="Employee" msprop:Generator_ParentPropName="EmployeeRow" msprop:Generator_ChildPropName="GetHareketDetayRows" />
      <msdata:Relationship name="FK_BelgeDetay_Customer" msdata:parent="Customer" msdata:child="BelgeDetay" msdata:parentkey="CustomerID" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_BelgeDetay_Customer" msprop:Generator_RelationVarName="relationFK_BelgeDetay_Customer" msprop:Generator_UserChildTable="BelgeDetay" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetBelgeDetayRows" />
      <msdata:Relationship name="FK_SalesOrderDetail_SalesOrderHeader_SalesOrderID" msdata:parent="SalesOrderHeader" msdata:child="SalesOrderDetail" msdata:parentkey="SalesOrderID" msdata:childkey="SalesOrderID" msprop:Generator_UserRelationName="FK_SalesOrderDetail_SalesOrderHeader_SalesOrderID" msprop:Generator_RelationVarName="relationFK_SalesOrderDetail_SalesOrderHeader_SalesOrderID" msprop:Generator_UserChildTable="SalesOrderDetail" msprop:Generator_UserParentTable="SalesOrderHeader" msprop:Generator_ParentPropName="SalesOrderHeaderRow" msprop:Generator_ChildPropName="GetSalesOrderDetailRows" />
      <msdata:Relationship name="FK_Hareket_SalesOrderHeader" msdata:parent="SalesOrderHeader" msdata:child="Hareket" msdata:parentkey="SalesOrderID" msdata:childkey="SalesOrderId" msprop:Generator_UserRelationName="FK_Hareket_SalesOrderHeader" msprop:Generator_RelationVarName="relationFK_Hareket_SalesOrderHeader" msprop:Generator_UserChildTable="Hareket" msprop:Generator_UserParentTable="SalesOrderHeader" msprop:Generator_ParentPropName="SalesOrderHeaderRow" msprop:Generator_ChildPropName="GetHareketRows" />
      <msdata:Relationship name="FK_SalesOrderHeader_Customer_CustomerID" msdata:parent="Customer" msdata:child="SalesOrderHeader" msdata:parentkey="CustomerID" msdata:childkey="CustomerID" msprop:Generator_UserRelationName="FK_SalesOrderHeader_Customer_CustomerID" msprop:Generator_RelationVarName="relationFK_SalesOrderHeader_Customer_CustomerID" msprop:Generator_UserChildTable="SalesOrderHeader" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetSalesOrderHeaderRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>